From 9e1d1537fdac58be2cad81d24e52f93fb9f2ee05 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Mon, 27 Jan 2025 10:10:20 +0100 Subject: garbage code for deployment --- src/api/album.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/api/album.rs') diff --git a/src/api/album.rs b/src/api/album.rs index f8731fb..b618e29 100644 --- a/src/api/album.rs +++ b/src/api/album.rs @@ -17,7 +17,7 @@ struct AlbumQueryOptions { #[utoipa::path( params(AlbumQueryOptions), - context_path = "/api", + context_path = "/balalaika/api", description = "Gets a list of the current albums and applies filters based on the url parameters recieved. It only accepts one parameter at a time.", responses( (status = 200, description = "Return a list of albums", body = Vec), @@ -65,7 +65,7 @@ pub async fn get_album( #[utoipa::path( request_body = AlbumPost, - context_path = "/api", + context_path = "/balalaika/api", description = "Creates a new album with the specified values.", responses( (status = 200, description = "Create new album", body = Response), @@ -93,7 +93,7 @@ pub async fn post_album( #[utoipa::path( request_body = AlbumPut, - context_path = "/api", + context_path = "/balalaika/api", description = "Edits the values of the specified album.", responses( (status = 200, description = "Edit album values", body = Response), @@ -121,7 +121,7 @@ pub async fn put_album( #[utoipa::path( request_body = Delete, - context_path = "/api", + context_path = "/balalaika/api", description = "Deletes the specified album.", responses( (status = 200, description = "Delete existing album", body = Response), -- cgit v1.2.3