Skip to content

feat: enable null reference type support #5863

feat: enable null reference type support

feat: enable null reference type support #5863

Triggered via pull request February 27, 2025 09:23
Status Failure
Total duration 2m 17s
Artifacts

ci-cd.yml

on: pull_request
Continuous Integration
37s
Continuous Integration
Validate Project for Trimming
2m 2s
Validate Project for Trimming
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Continuous Integration: src/Microsoft.OpenApi/Writers/OpenApiWriterAnyExtensions.cs#L117
Converting null literal or possible null value to non-nullable type.
Continuous Integration: src/Microsoft.OpenApi/Services/OpenApiWalker.cs#L57
Possible null reference argument for parameter 'tags' in 'void OpenApiWalker.Walk(ISet<OpenApiTag> tags)'.
Continuous Integration: src/Microsoft.OpenApi/Services/OpenApiWalker.cs#L600
Possible null reference argument for parameter 'tags' in 'void OpenApiWalker.Walk(ISet<OpenApiTagReference> tags)'.
Continuous Integration: src/Microsoft.OpenApi/Reader/OpenApiReaderSettings.cs#L166
Dereference of a possibly null reference.
Continuous Integration: src/Microsoft.OpenApi/Reader/OpenApiReaderSettings.cs#L22
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Continuous Integration: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L266
Possible null reference argument for parameter 'baseUrl' in 'DefaultStreamLoader.DefaultStreamLoader(Uri baseUrl, HttpClient httpClient)'.
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L144
Possible null reference argument for parameter 'externalDocs' in 'OpenApiExternalDocs.OpenApiExternalDocs(OpenApiExternalDocs externalDocs)'.
Continuous Integration: src/Microsoft.OpenApi/Reader/OpenApiReaderSettings.cs#L164
Dereference of a possibly null reference.
Continuous Integration: src/Microsoft.OpenApi/Reader/OpenApiReaderSettings.cs#L22
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Continuous Integration: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L266
Possible null reference argument for parameter 'baseUrl' in 'DefaultStreamLoader.DefaultStreamLoader(Uri baseUrl, HttpClient httpClient)'.
Validate Project for Trimming: src/Microsoft.OpenApi/Writers/OpenApiWriterAnyExtensions.cs#L117
Converting null literal or possible null value to non-nullable type.
Validate Project for Trimming: src/Microsoft.OpenApi/Services/OpenApiWalker.cs#L57
Possible null reference argument for parameter 'tags' in 'void OpenApiWalker.Walk(ISet<OpenApiTag> tags)'.
Validate Project for Trimming: src/Microsoft.OpenApi/Services/OpenApiWalker.cs#L600
Possible null reference argument for parameter 'tags' in 'void OpenApiWalker.Walk(ISet<OpenApiTagReference> tags)'.
Validate Project for Trimming: src/Microsoft.OpenApi/Services/OpenApiFilterService.cs#L396
Possible null reference argument for parameter 'input' in 'bool Regex.IsMatch(string input)'.
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L144
Possible null reference argument for parameter 'externalDocs' in 'OpenApiExternalDocs.OpenApiExternalDocs(OpenApiExternalDocs externalDocs)'.
Validate Project for Trimming: src/Microsoft.OpenApi/Reader/OpenApiReaderSettings.cs#L164
Dereference of a possibly null reference.
Validate Project for Trimming: src/Microsoft.OpenApi/Reader/OpenApiReaderSettings.cs#L22
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Validate Project for Trimming: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L266
Possible null reference argument for parameter 'baseUrl' in 'DefaultStreamLoader.DefaultStreamLoader(Uri baseUrl, HttpClient httpClient)'.
Validate Project for Trimming: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L299
Dereference of a possibly null reference.
Validate Project for Trimming: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L300
Dereference of a possibly null reference.