feat: add support for dependentRequired #1571
Triggered via pull request
February 19, 2025 10:08
Status
Success
Total duration
11m 43s
Artifacts
–
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
11m 20s
Annotations
10 warnings
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs#L141
All 'WriteValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L24
All 'WriteProperty' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L248
All 'WriteRequiredMap' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L696
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L701
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L706
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L191
Refactor this constructor to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L172
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L144
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs#L246
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|