diff options
Diffstat (limited to 'src/api/album.rs')
-rw-r--r-- | src/api/album.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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<Album>), @@ -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), |