Skip to content

Support parsing schema values exceeding decimal ranges by replacing decimal.Parse with double.Parse #737

Support parsing schema values exceeding decimal ranges by replacing decimal.Parse with double.Parse

Support parsing schema values exceeding decimal ranges by replacing decimal.Parse with double.Parse #737

Triggered via pull request March 13, 2024 18:07
Status Success
Total duration 5m 39s
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

11 warnings
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L124
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L522
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L616
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
Build: src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L214
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/Services/OpenApiReferenceResolver.cs#L413
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Services/OpenApiReferenceResolver.cs#L427
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/JsonPointer.cs#L51
Refactor 'ParentPointer' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
Build: src/Microsoft.OpenApi/Extensions/JsonSchemaBuilderExtensions.cs#L72
All 'ExclusiveMaximum' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)