feat(library): Preserve PatternProperties via x-jsonschema-patternProperties extension for OpenAPI v2/v3.0 #2778
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
4s
Build
4m 0s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L355
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L351
Method has 8 parameters, which is greater than the 7 authorized.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L351
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L270
Refactor this constructor to reduce its Cognitive Complexity from 21 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L47
Remove this call from a constructor to the overridable 'CopyReference' method.
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiSchemaDeserializer.cs#L17
Refactor this field to reduce its Cognitive Complexity from 42 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiSchemaDeserializer.cs#L17
Refactor this field to reduce its Cognitive Complexity from 30 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L771
Refactor your code not to use hardcoded absolute paths or URIs.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L766
Refactor your code not to use hardcoded absolute paths or URIs.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L761
Refactor your code not to use hardcoded absolute paths or URIs.
|