Skip to content

fix: Fixed bug with missing settings inside AnyOf JsonConverter. #82

fix: Fixed bug with missing settings inside AnyOf JsonConverter.

fix: Fixed bug with missing settings inside AnyOf JsonConverter. #82

Triggered via push June 4, 2024 12:40
Status Success
Total duration 1m 57s
Artifacts 1

main.yml

on: push
Build, test and publish  /  Build, test and publish
1m 44s
Build, test and publish / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnum.cs#L3
Rename type name TestEnum so that it does not end in 'Enum' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumNewtonsoftJsonStringEnumConverter.cs#L10
In externally visible method 'void TestEnumNewtonsoftJsonStringEnumConverter.WriteJson(JsonWriter writer, TestEnum value, JsonSerializer serializer)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumNewtonsoftJsonStringEnumConverter.cs#L21
In externally visible method 'TestEnum TestEnumNewtonsoftJsonStringEnumConverter.ReadJson(JsonReader reader, Type objectType, TestEnum existingValue, bool hasExistingValue, JsonSerializer serializer)', validate parameter 'reader' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumJsonStringEnumConverter.cs#L27
Call the ArgumentOutOfRangeException constructor that contains a message and/or paramName parameter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumJsonStringEnumConverter.cs#L38
In externally visible method 'void TestEnumJsonStringEnumConverter.Write(Utf8JsonWriter writer, TestEnum value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnum.cs#L3
Rename type name TestEnum so that it does not end in 'Enum' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumJsonStringEnumConverter.cs#L27
Call the ArgumentOutOfRangeException constructor that contains a message and/or paramName parameter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumNewtonsoftJsonStringEnumConverter.cs#L10
In externally visible method 'void TestEnumNewtonsoftJsonStringEnumConverter.WriteJson(JsonWriter writer, TestEnum value, JsonSerializer serializer)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumJsonStringEnumConverter.cs#L38
In externally visible method 'void TestEnumJsonStringEnumConverter.Write(Utf8JsonWriter writer, TestEnum value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build, test and publish / Build, test and publish: src/libs/OpenApiGenerator.Helpers/JsonEnumConverter/TestEnumNewtonsoftJsonStringEnumConverter.cs#L21
In externally visible method 'TestEnum TestEnumNewtonsoftJsonStringEnumConverter.ReadJson(JsonReader reader, Type objectType, TestEnum existingValue, bool hasExistingValue, JsonSerializer serializer)', validate parameter 'reader' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)

Artifacts

Produced during runtime
Name Size
nuget-packages Expired
2.18 MB