Validate Json schema using JsonSchema.NET #821
Annotations
2 errors and 10 warnings
|
Build and analyze
The operation was canceled.
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L131
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L493
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L195
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiSecurityRequirement.cs#L126
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
|
Build and analyze:
src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L74
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build and analyze:
src/Microsoft.OpenApi/Exceptions/OpenApiUnsupportedSpecVersionException.cs#L13
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'OpenApiUnsupportedSpecVersionException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build and analyze:
src/Microsoft.OpenApi/Exceptions/OpenApiReaderException.cs#L14
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'OpenApiReaderException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L438
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L431
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
Loading