chore: implement test cases for types of References in an OpenApi doc… #2060
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
3s
Build
6m 9s
Annotations
10 warnings
|
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/JsonPointer.cs#L51
Refactor 'ParentPointer' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
|
Build:
src/Microsoft.OpenApi/Models/JsonSchemaType.cs#L12
Rename the enumeration 'JsonSchemaType' 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/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi/Attributes/TrimmingAttributes.cs#L340
Remove the 'FlagsAttribute' from this enum. (https://rules.sonarsource.com/csharp/RSPEC-4070)
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L106
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L134
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/IsExternalInit.cs#L1
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
performance/resultsComparer/policies/PercentageMemoryUsagePolicy.cs#L54
Parameters to 'GetPercentageDifference' have the same names but not the same order as the method arguments. (https://rules.sonarsource.com/csharp/RSPEC-2234)
|
|
Build:
performance/resultsComparer/Program.cs#L9
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|