Updates the 401 response examples across the endpoint summaries

This commit is contained in:
BinaryAlley committed 2026-09-26 13:05:02 +03:00
1 parent 0bfe4683a4
commit c41bd24760
63 files changed
+144 -144

No files matched your search

@@ -38,7 +38,7 @@ public class DeleteThemeEndpointSummary : Summary<DeleteThemeEndpoint, DeleteThe
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/{themeId}"
},
new
@@ -46,7 +46,7 @@ public class DeleteThemeEndpointSummary : Summary<DeleteThemeEndpoint, DeleteThe
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/{themeId}"
},
new
@@ -46,7 +46,7 @@ public class InstallThemeEndpointSummary : Summary<InstallThemeEndpoint, EmptyRe
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
@@ -54,7 +54,7 @@ public class InstallThemeEndpointSummary : Summary<InstallThemeEndpoint, EmptyRe
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
@@ -38,7 +38,7 @@ public class RestoreThemeEndpointSummary : Summary<RestoreThemeEndpoint, Restore
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/{themeId}/restore"
},
new
@@ -46,7 +46,7 @@ public class RestoreThemeEndpointSummary : Summary<RestoreThemeEndpoint, Restore
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/{themeId}/restore"
},
new
@@ -53,7 +53,7 @@ public class SetCurrentThemeEndpointSummary : Summary<SetCurrentThemeEndpoint, S
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/current"
},
new
@@ -61,7 +61,7 @@ public class SetCurrentThemeEndpointSummary : Summary<SetCurrentThemeEndpoint, S
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/current"
},
new
@@ -44,7 +44,7 @@ public class GetThemeArchiveEndpointSummary : Summary<GetThemeArchiveEndpoint, G
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/{themeId}/archive"
},
new
@@ -52,7 +52,7 @@ public class GetThemeArchiveEndpointSummary : Summary<GetThemeArchiveEndpoint, G
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/{themeId}/archive"
},
new
@@ -60,7 +60,7 @@ public class GetThemesEndpointSummary : Summary<GetThemesEndpoint, EmptyRequest>
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<GetThemesEndpoint, EmptyRequest>
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