G: F6 fix health tag and document auth 503 and auth-off notes
This commit is contained in:
1 parent
a1117da01d
commit
2adfa59027
5 files changed
+65
-4
No files matched your search
@@ -25,6 +25,7 @@ pub fn routes() -> Router<AppState> {
|
||||
responses(
|
||||
(status = 200, body = Health, description = "The API is running and the token is valid"),
|
||||
(status = 401, body = crate::openapi::ErrorBody, description = "Missing or unknown bearer token"),
|
||||
(status = 503, body = crate::openapi::ErrorBody, description = "The token database is unavailable"),
|
||||
)
|
||||
)]
|
||||
pub(crate) async fn ping() -> Json<serde_json::Value> {
|
||||
|
||||
Reference in new issue
Block a user