Skip to content

Merge pull request #2353 from microsoft/fix/mapping-references-source… #1989

Merge pull request #2353 from microsoft/fix/mapping-references-source…

Merge pull request #2353 from microsoft/fix/mapping-references-source… #1989

Triggered via push May 15, 2025 08:24
Status Success
Total duration 4m 54s
Artifacts

sonarcloud.yml

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

Annotations

10 warnings
Build: src/Microsoft.OpenApi/Exceptions/OpenApiReaderException.cs#L14
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'OpenApiReaderException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
Build: src/Microsoft.OpenApi/Attributes/TrimmingAttributes.cs#L340
Remove the 'FlagsAttribute' from this enum. (https://rules.sonarsource.com/csharp/RSPEC-4070)
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#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L23
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#L110
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L139
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/IsExternalInit.cs#L1
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: performance/resultsComparer/policies/PercentageMemoryUsagePolicy.cs#L54
Parameters to 'GetPercentageDifference' have the same names but not the same order as the method arguments. (https://rules.sonarsource.com/csharp/RSPEC-2234)
Build: performance/resultsComparer/Program.cs#L9
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)