Merge pull request #2278 from microsoft/fix/missing-security-scheme-o… #1765
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
0s
Build
5m 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#L140
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L110
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/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/Models/OpenApiCallback.cs#L16
'IOpenApiCallback' implements 'IOpenApiReferenceable' so 'IOpenApiReferenceable' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L696
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L701
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L706
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|