mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Updates the 401 response examples across the endpoint summaries
This commit is contained in:
1 parent
0bfe4683a4
commit
c41bd24760
63 files changed
+144
-144
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user