fix: refactor ToIdentifier() to normalize flaggable enums #1572
Triggered via pull request
February 19, 2025 10:11
Status
Success
Total duration
10m 25s
Artifacts
–
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
10m 0s
Annotations
10 warnings
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L41
Define a constant instead of using this literal 'boolean' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L42
Define a constant instead of using this literal 'integer' 8 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L43
Define a constant instead of using this literal 'number' 14 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L44
Define a constant instead of using this literal 'string' 13 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L77
Define a constant instead of using this literal 'double' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L77
Define a constant instead of using this literal 'float' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L110
Define a constant instead of using this literal 'int32' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L112
Define a constant instead of using this literal 'int64' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L117
Define a constant instead of using this literal 'date-time' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Microsoft.OpenApi/Validations/Rules/RuleHelpers.cs#L140
Define a constant instead of using this literal 'number' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|