fix: duplicate schema example when serializing to v2 #3389
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
4s
Build
5m 6s
Annotations
11 warnings
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L441
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L463
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L456
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L435
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L431
Method has 8 parameters, which is greater than the 7 authorized.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L431
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L323
Refactor this constructor to reduce its Cognitive Complexity from 28 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L166
Remove this call from a constructor to the overridable 'CopyReference' method.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L254
Do not forget to remove this deprecated code someday.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L125
Complete the task associated to this 'TODO' comment.
|
|
Build
The 'adopt' legacy AdoptOpenJDK distribution is deprecated and will be removed in setup-java v6. Please migrate to the 'temurin' distribution.
|