fix: adds explicit error message for invalid json pointers #3162
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
2s
Build
6m 57s
Annotations
10 warnings and 1 notice
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiV31Deserializer.cs#L78
Use a comparison to 'default(U)' instead or add a constraint to 'U' so that it can't be a value type.
|
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiV31Deserializer.cs#L61
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Reader/V32/OpenApiV32Deserializer.cs#L78
Use a comparison to 'default(U)' instead or add a constraint to 'U' so that it can't be a value type.
|
|
Build:
src/Microsoft.OpenApi/Reader/V32/OpenApiV32Deserializer.cs#L61
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L79
Use a comparison to 'default(U)' instead or add a constraint to 'U' so that it can't be a value type.
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L62
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Reader/JsonNodeHelper.cs#L258
Method has 8 parameters, which is greater than the 7 authorized.
|
|
Build:
src/Microsoft.OpenApi/Reader/JsonNodeHelper.cs#L258
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Reader/JsonNodeHelper.cs#L34
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type.
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L59
Remove this call from a constructor to the overridable 'CopyReference' method.
|
|
Build
AdoptOpenJDK has moved to Eclipse Temurin https://github.com/actions/setup-java#supported-distributions please consider changing to the 'temurin' distribution type in your setup-java configuration.
|