Skip to content

Remove DataTypeMismatch validation rule from the default ruleset #1127

Remove DataTypeMismatch validation rule from the default ruleset

Remove DataTypeMismatch validation rule from the default ruleset #1127

Triggered via pull request October 24, 2024 12:57
Status Success
Total duration 6m 8s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L140
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Models/OpenApiSecurityRequirement.cs#L126
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L74
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Extensions/OpenAPIWriterExtensions.cs#L5
Rename class 'OpenAPIWriterExtensions' to match pascal case naming rules, consider using 'OpenApiWriterExtensions'. (https://rules.sonarsource.com/csharp/RSPEC-101)
Build: src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Reader/OpenApiDiagnostic.cs#L56
Move 'IDiagnosticExtensions' into a named namespace. (https://rules.sonarsource.com/csharp/RSPEC-3903)
Build: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L17
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#L18
Define a constant instead of using this literal 'string' 24 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L19
Define a constant instead of using this literal 'integer' 14 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L19
Define a constant instead of using this literal 'int32' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)