fix: adds explicit error message for invalid json pointers #3161
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
4s
Build
7m 10s
Annotations
10 errors, 10 warnings, and 1 notice
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L158
Missing compiler required member 'System.Index..ctor'
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L158
Predefined type 'System.Index' is not defined or imported
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiV2Deserializer.cs#L91
Missing compiler required member 'System.Index..ctor'
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiV2Deserializer.cs#L91
Predefined type 'System.Index' is not defined or imported
|
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiV31Deserializer.cs#L164
Missing compiler required member 'System.Index..ctor'
|
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiV31Deserializer.cs#L164
Predefined type 'System.Index' is not defined or imported
|
|
Build:
src/Microsoft.OpenApi/Reader/V32/OpenApiV32Deserializer.cs#L164
Missing compiler required member 'System.Index..ctor'
|
|
Build:
src/Microsoft.OpenApi/Reader/V32/OpenApiV32Deserializer.cs#L164
Predefined type 'System.Index' is not defined or imported
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L158
Missing compiler required member 'System.Index..ctor'
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L158
Predefined type 'System.Index' is not defined or imported
|
|
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/Models/References/BaseOpenApiReferenceHolder.cs#L59
Remove this call from a constructor to the overridable 'CopyReference' method.
|
|
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/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
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.
|