Skip to content

fix: add meaningful exception message during validation #1518

fix: add meaningful exception message during validation

fix: add meaningful exception message during validation #1518

Triggered via pull request February 6, 2025 14:11
Status Success
Total duration 7m 15s
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/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L304
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)