fix: null reference exception for boolean component schemas #2904
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
2s
Build
4m 49s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L293
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L84
Refactor this method to reduce its Cognitive Complexity from 67 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/Services/OpenApiWorkspace.cs#L396
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L293
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L84
Refactor this method to reduce its Cognitive Complexity from 67 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/Services/OpenApiWorkspace.cs#L396
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L293
Change this condition so that it does not always evaluate to 'True'.
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L84
Refactor this method to reduce its Cognitive Complexity from 67 to the 15 allowed.
|