Fix: Do not default to an empty list if Security scheme is missing #1039
Annotations
10 warnings
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L437
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/Microsoft.OpenApi/Models/OpenApiSecurityRequirement.cs#L109
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
|
Build and analyze:
src/Microsoft.OpenApi/Services/OpenApiReferenceResolver.cs#L279
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build and analyze:
src/Microsoft.OpenApi/Services/OpenApiReferenceResolver.cs#L293
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build and analyze:
src/Microsoft.OpenApi/Any/OpenApiAnyCloneHelper.cs#L12
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Build and analyze:
src/Microsoft.OpenApi/Attributes/TrimmingAttributes.cs#L342
Remove the 'FlagsAttribute' from this enum. (https://rules.sonarsource.com/csharp/RSPEC-4070)
|
Build and analyze:
src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L25
All 'SerializeAsJson' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build and analyze:
src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L38
All 'SerializeAsYaml' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build and analyze:
src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L53
All 'Serialize' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Loading