From 9cf671ac94f17e4269154ef245c8d8ea74addb20 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 2 Jul 2025 22:06:16 +0200 Subject: [PATCH] openapi docs --- little-hesinde/src/api/html/authors.rs | 3 +++ little-hesinde/src/api/html/books.rs | 3 +++ little-hesinde/src/api/html/cover.rs | 2 ++ little-hesinde/src/api/html/search.rs | 1 + little-hesinde/src/api/html/series.rs | 3 +++ little-hesinde/src/api/opds/recent.rs | 1 + little-hesinde/src/api/opds/search.rs | 1 + little-hesinde/src/api/static_files.rs | 1 + 8 files changed, 15 insertions(+) diff --git a/little-hesinde/src/api/html/authors.rs b/little-hesinde/src/api/html/authors.rs index 604f79c..c7c2a97 100644 --- a/little-hesinde/src/api/html/authors.rs +++ b/little-hesinde/src/api/html/authors.rs @@ -36,6 +36,7 @@ impl HttpStatus for RetrieveError { } http_error!(RetrieveError); +/// Get the first page of all authors. #[utoipa::path( get, path = "/authors", @@ -51,6 +52,7 @@ pub async fn handler_init(State(state): State>) -> Result>) -> Result>) -> Result