feat: add metadata for api doc
CI / Rust CI (push) Successful in 1m33s
Publish & Deploy / Build and Push to Registry (push) Successful in 22s
Publish & Deploy / Deploy via SSH (push) Successful in 18s

This commit is contained in:
2026-04-11 20:40:38 +02:00
parent f4da65dbc2
commit 81129d6c9c
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ async fn openapi_json() -> Json<utoipa::openapi::OpenApi> {
}
fn public_router() -> Router<AppState> {
Router::new().route("/openapi.json", get(openapi_json))
Router::new().route("/docs.json", get(openapi_json))
}
pub fn protected_router() -> Router<AppState> {