Update dependency Swashbuckle.AspNetCore to 7.2.0 (#1194) #460
Annotations
10 warnings
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Models/AccessPackage/AccessPackageAccess.cs#L34
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Enums/ReferenceType.cs#L8
'int' should not be explicitly used as the underlying type. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Enums/ResourceType.cs#L7
Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$'. (https://rules.sonarsource.com/csharp/RSPEC-2342)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Enums/ResourceType.cs#L12
Rename 'Default' to 'None'. (https://rules.sonarsource.com/csharp/RSPEC-2346)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Extensions/HttpClientExtension.cs#L20
Define a constant instead of using this literal 'Authorization' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Extensions/HttpClientExtension.cs#L20
Define a constant instead of using this literal 'Bearer ' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Extensions/HttpClientExtension.cs#L24
Define a constant instead of using this literal 'PlatformAccessToken' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Helpers/JwtTokenUtil.cs#L24
Define a constant instead of using this literal 'Authorization' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Helpers/StringUtils.cs#L6
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Analyze:
backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Services/AccessPackageService.cs#L17
Remove the unused private field 'options'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
Loading