summaryrefslogtreecommitdiff
path: root/src/api/album.rs
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-27 10:10:20 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-27 10:10:20 +0100
commit9e1d1537fdac58be2cad81d24e52f93fb9f2ee05 (patch)
treeff58e217170d9be13575ac466a677bf8d569d228 /src/api/album.rs
parenta22d756eee31c8ba52a0d4dd119693d696d5eb1a (diff)
garbage code for deployment
Diffstat (limited to 'src/api/album.rs')
-rw-r--r--src/api/album.rs8
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),