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/song.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/api/song.rs') diff --git a/src/api/song.rs b/src/api/song.rs index 06bc4b6..a1ba641 100644 --- a/src/api/song.rs +++ b/src/api/song.rs @@ -18,7 +18,7 @@ struct SongQueryOptions { #[utoipa::path( params(SongQueryOptions), - context_path = "/api", + context_path = "/balalaika/api", description = "Gets a list of the current songs 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 songs", body = Vec), @@ -70,7 +70,7 @@ pub async fn get_song( #[utoipa::path( request_body = SongPost, - context_path = "/api", + context_path = "/balalaika/api", description = "Creates a new song with the specified values.", responses( (status = 200, description = "Create new song", body = Response), @@ -98,7 +98,7 @@ pub async fn post_song( #[utoipa::path( request_body = SongPut, - context_path = "/api", + context_path = "/balalaika/api", description = "Edits the values of the specified song.", responses( (status = 200, description = "Edit song values", body = Response), @@ -126,7 +126,7 @@ pub async fn put_song( #[utoipa::path( request_body = Delete, - context_path = "/api", + context_path = "/balalaika/api", description = "Deletes the specified song.", responses( (status = 200, description = "Delete existing song", body = Response), -- cgit v1.2.3