v2 refresh #804
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/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/Reader/ParseNodes/ParserHelper.cs#L12
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Build and analyze:
src/Microsoft.OpenApi/Extensions/OpenAPIWriterExtensions.cs#L5
Rename class 'OpenAPIWriterExtensions' to match pascal case naming rules, consider using 'OpenApiWriterExtensions'. (https://rules.sonarsource.com/csharp/RSPEC-101)
|
Build and analyze:
src/Microsoft.OpenApi/Reader/OpenApiDiagnostic.cs#L56
Move 'IDiagnosticExtensions' into a named namespace. (https://rules.sonarsource.com/csharp/RSPEC-3903)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L631
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L626
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
Loading