Merge pull request #2248 from microsoft/chore/example-validation-works #1705
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
0s
Build
9m 21s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi/IsExternalInit.cs#L1
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L135
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L87
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
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:
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:
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:
src/Microsoft.OpenApi/Models/JsonSchemaType.cs#L12
Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$'. (https://rules.sonarsource.com/csharp/RSPEC-2342)
|
|
Build:
src/Microsoft.OpenApi/Validations/Rules/OpenApiComponentsRules.cs#L20
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
|
Build:
src/Microsoft.OpenApi/Validations/Rules/RuleHelpers.cs#L140
Define a constant instead of using this literal 'number' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|