fix: refactor ToIdentifier() to normalize flaggable enums #1572
Annotations
10 warnings
Build and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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)
|
Loading