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

@@ -88,7 +88,7 @@ public class AddLibraryEndpointSummary : Summary<AddLibraryEndpoint, AddLibraryR
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/libraries"
},
new
@@ -96,7 +96,7 @@ public class AddLibraryEndpointSummary : Summary<AddLibraryEndpoint, AddLibraryR
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/libraries"
},
new
@@ -31,7 +31,7 @@ public class CancelLibrariesScanEndpointSummary : Summary<CancelLibrariesScanEnd
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/libraries/scans/cancel"
},
new
@@ -39,7 +39,7 @@ public class CancelLibrariesScanEndpointSummary : Summary<CancelLibrariesScanEnd
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/libraries/scans/cancel"
},
new
@@ -40,7 +40,7 @@ public class CancelLibraryScanEndpointSummary : Summary<CancelLibraryScanEndpoin
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/libraries/{libraryId}/scans/{scanId}/cancel"
},
new
@@ -48,7 +48,7 @@ public class CancelLibraryScanEndpointSummary : Summary<CancelLibraryScanEndpoin
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/libraries/{libraryId}/scans/{scanId}/cancel"
},
new
@@ -40,7 +40,7 @@ public class DeleteLibraryEndpointSummary : Summary<DeleteLibraryEndpoint, Delet
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/libraries/{id}"
},
new
@@ -48,7 +48,7 @@ public class DeleteLibraryEndpointSummary : Summary<DeleteLibraryEndpoint, Delet
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/libraries/{id}"
},
new
@@ -64,7 +64,7 @@ public class GetEnabledLibrariesEndpointSummary : Summary<GetEnabledLibrariesEnd
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/libraries/enabled"
},
new
@@ -72,7 +72,7 @@ public class GetEnabledLibrariesEndpointSummary : Summary<GetEnabledLibrariesEnd
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/libraries/enabled"
},
new
@@ -64,7 +64,7 @@ public class GetLibrariesEndpointSummary : Summary<GetLibrariesEndpoint, 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/libraries"
},
new
@@ -72,7 +72,7 @@ public class GetLibrariesEndpointSummary : Summary<GetLibrariesEndpoint, 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/libraries"
},
new
@@ -69,7 +69,7 @@ public class GetLibraryEndpointSummary : Summary<GetLibraryEndpoint, GetLibraryR
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/libraries/{id}"
},
new
@@ -77,7 +77,7 @@ public class GetLibraryEndpointSummary : Summary<GetLibraryEndpoint, GetLibraryR
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/libraries/{id}"
},
new
@@ -66,7 +66,7 @@ public class GetLibraryScanProgressEndpointSummary : Summary<GetLibraryScanProgr
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/libraries/{libraryId}/scans/{scanId}/progress"
},
new
@@ -74,7 +74,7 @@ public class GetLibraryScanProgressEndpointSummary : Summary<GetLibraryScanProgr
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/libraries/{libraryId}/scans/{scanId}/progress"
},
new
@@ -41,7 +41,7 @@ public class ScanLibrariesEndpointSummary : Summary<ScanLibrariesEndpoint, Empty
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/libraries/scans"
},
new
@@ -49,7 +49,7 @@ public class ScanLibrariesEndpointSummary : Summary<ScanLibrariesEndpoint, Empty
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/libraries/scans"
},
new
@@ -43,7 +43,7 @@ public class ScanLibraryEndpointSummary : Summary<ScanLibraryEndpoint, ScanLibra
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/libraries/{id}/scans"
},
new
@@ -51,7 +51,7 @@ public class ScanLibraryEndpointSummary : Summary<ScanLibraryEndpoint, ScanLibra
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/libraries/{id}/scans"
},
new
@@ -92,7 +92,7 @@ public class UpdateLibraryEndpointSummary : Summary<UpdateLibraryEndpoint, Updat
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/libraries"
},
new
@@ -100,7 +100,7 @@ public class UpdateLibraryEndpointSummary : Summary<UpdateLibraryEndpoint, Updat
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/libraries"
},
new