diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Permissions/GetPermissions/GetPermissionsEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Permissions/GetPermissions/GetPermissionsEndpointSummary.cs index 373f0ad2..e0eaa893 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Permissions/GetPermissions/GetPermissionsEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Permissions/GetPermissions/GetPermissionsEndpointSummary.cs @@ -39,7 +39,7 @@ public class GetPermissionsEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "You are not authorized", + detail = "Authentication failed", instance = "/api/v1/auth/roles" }, new @@ -62,7 +62,7 @@ public class AddRoleEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "Invalid token: The token expired at '01/01/2024 01:00:00'", + detail = "The token has expired", instance = "/api/v1/auth/roles" }, new diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs index cab80097..aa16544a 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/DeleteRole/DeleteRoleEndpointSummary.cs @@ -40,7 +40,7 @@ public class DeleteRoleEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "You are not authorized", + detail = "Authentication failed", instance = "/api/v1/auth/roles" }, new @@ -42,7 +42,7 @@ public class GetRolesEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "Invalid token: The token expired at '01/01/2024 01:00:00'", + detail = "The token has expired", instance = "/api/v1/auth/roles" }, new diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs index d0c9117c..bc181527 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/Admin/Authorization/Roles/UpdateRole/UpdateRoleEndpointSummary.cs @@ -56,7 +56,7 @@ public class UpdateRoleEndpointSummary : Summary r.Path, "The file system path for which to get the directories. Required."); - RequestParam(r => r.IncludeHiddenElements, "Whether to include hidden file system elements or not. Optional."); + RequestParam(r => r.ShouldIncludeHiddenElements, "Whether to include hidden file system elements or not. Optional."); Response(200, "The list of directories for the specified path is returned.", example: new DirectoryResponse[] { @@ -49,7 +49,7 @@ public class GetDirectoriesEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "You are not authorized", + detail = "Authentication failed", instance = "/api/v1/drives/get-drives" }, new @@ -44,7 +44,7 @@ public class GetDrivesEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "Invalid token: The token expired at '01/01/2024 01:00:00'", + detail = "The token has expired", instance = "/api/v1/drives/get-drives" }, new diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/FileSystem/GetType/GetTypeEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/FileSystem/GetType/GetTypeEndpointSummary.cs index 9ca34185..f6010ea9 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/FileSystem/GetType/GetTypeEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/FileSystem/GetType/GetTypeEndpointSummary.cs @@ -34,7 +34,7 @@ public class GetTypeEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "You are not authorized", + detail = "Authentication failed", instance = "/api/v1/file-system/get-type" }, new @@ -42,7 +42,7 @@ public class GetTypeEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "Invalid token: The token expired at '01/01/2024 01:00:00'", + detail = "The token has expired", instance = "/api/v1/file-system/get-type" }, new diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Files/GetFiles/GetFilesEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Files/GetFiles/GetFilesEndpointSummary.cs index 690e8ac2..0616d7dc 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Files/GetFiles/GetFilesEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/FileSystemManagement/Files/GetFiles/GetFilesEndpointSummary.cs @@ -26,15 +26,15 @@ public class GetFilesEndpointSummary : Summary r.Path, "The file system path for which to get the files. Required."); - RequestParam(r => r.IncludeHiddenElements, "Whether to include hidden file system elements or not. Optional."); + RequestParam(r => r.ShouldIncludeHiddenElements, "Whether to include hidden file system elements or not. Optional."); Response(200, "The list of files is returned.", example: new FileResponse[] { @@ -50,7 +50,7 @@ public class GetFilesEndpointSummary : Summary r.Path, "The file system path for which to get the tree files. Required."); - RequestParam(r => r.IncludeHiddenElements, "Whether to include hidden file system elements or not. Optional."); + RequestParam(r => r.ShouldIncludeHiddenElements, "Whether to include hidden file system elements or not. Optional."); Response(200, "The tree structure of files is returned.", example: new FileSystemTreeNodeResponse[] { @@ -50,7 +50,7 @@ public class GetTreeFilesEndpointSummary : Summary r.Path, "The file system path to check the exitence of. Required."); - RequestParam(r => r.IncludeHiddenElements, "Whether to include hidden elements in the search results, or not. Optional."); + RequestParam(r => r.ShouldIncludeHiddenElements, "Whether to include hidden elements in the search results, or not. Optional."); Response(200, "Indicates whether the file system path exists.", example: new PathExistsResponse( @@ -48,7 +48,7 @@ public class CheckPathExistsEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "You are not authorized", + detail = "Authentication failed", instance = "/api/v1/themes" }, new @@ -68,7 +68,7 @@ public class GetThemesEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "Invalid token: The token expired at '01/01/2024 01:00:00'", + detail = "The token has expired", instance = "/api/v1/themes" }, new diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authentication/ChangePassword/ChangePasswordEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authentication/ChangePassword/ChangePasswordEndpointSummary.cs index f63eb8dc..060740e6 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authentication/ChangePassword/ChangePasswordEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authentication/ChangePassword/ChangePasswordEndpointSummary.cs @@ -47,7 +47,7 @@ public class ChangePasswordEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "You are not authorized", + detail = "Authentication failed", instance = "/api/v1/auth/users" }, new @@ -42,7 +42,7 @@ public class GetUsersEndpointSummary : Summary type = "https://tools.ietf.org/html/rfc7235#section-3.1", status = 401, title = "Unauthorized", - detail = "Invalid token: The token expired at '01/01/2024 01:00:00'", + detail = "The token has expired", instance = "/api/v1/auth/users" }, new diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetAuthorization/GetAuthorizationEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetAuthorization/GetAuthorizationEndpointSummary.cs index 1de71e92..062e5e36 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetAuthorization/GetAuthorizationEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetAuthorization/GetAuthorizationEndpointSummary.cs @@ -45,7 +45,7 @@ public class GetAuthorizationEndpointSummary : Summary { { diff --git a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetUserRole/GetUserRoleEndpointSummary.cs b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetUserRole/GetUserRoleEndpointSummary.cs index 4097e948..9761783b 100644 --- a/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetUserRole/GetUserRoleEndpointSummary.cs +++ b/src/Lumina.Presentation.Api/Core/Endpoints/UsersManagement/Authorization/GetUserRole/GetUserRoleEndpointSummary.cs @@ -44,7 +44,7 @@ public class GetUserRoleEndpointSummary : Summary