Skip to content

Fix Swagger Documentation for IIS Hosting (Works also in docker, loca… #115

Fix Swagger Documentation for IIS Hosting (Works also in docker, loca…

Fix Swagger Documentation for IIS Hosting (Works also in docker, loca… #115

Triggered via push October 31, 2024 13:34
Status Success
Total duration 1m 59s
Artifacts

webapi.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/Shared/Authorization/AppConstants.cs#L6
Use an immutable collection or reduce the accessibility of the non-private readonly field 'SupportedImageFormats'. (https://rules.sonarsource.com/csharp/RSPEC-3887)
build: src/Shared/Authorization/AppConstants.cs#L6
Use an immutable collection or reduce the accessibility of the public static field 'SupportedImageFormats'. (https://rules.sonarsource.com/csharp/RSPEC-2386)
build: src/api/framework/Core/Identity/Roles/Features/UpdatePermissions/UpdatePermissionsCommand.cs#L5
Change 'Permissions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build: src/api/framework/Core/Identity/Roles/Features/UpdatePermissions/UpdatePermissionsCommand.cs#L5
Change 'List<string>' in 'UpdatePermissionsCommand.Permissions' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build: src/api/framework/Core/Identity/Roles/RoleDto.cs#L8
Change 'Permissions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build: src/api/framework/Core/Identity/Roles/RoleDto.cs#L8
Change 'List<string>' in 'RoleDto.Permissions' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build: src/api/framework/Core/Identity/Users/Features/AssignUserRole/AssignUserRoleCommand.cs#L6
Change 'UserRoles' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build: src/api/framework/Core/Identity/Users/Features/AssignUserRole/AssignUserRoleCommand.cs#L6
Change 'List<UserRoleDetail>' in 'AssignUserRoleCommand.UserRoles' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build: src/api/framework/Core/Exceptions/CustomException.cs#L7
Change 'List<string>' in 'CustomException.ErrorMessages' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build: src/api/framework/Core/Paging/PaginationFilter.cs#L8
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)