summaryrefslogtreecommitdiff
path: root/src/api/song.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/song.rs
parenta22d756eee31c8ba52a0d4dd119693d696d5eb1a (diff)
garbage code for deployment
Diffstat (limited to 'src/api/song.rs')
-rw-r--r--src/api/song.rs8
1 files changed, 4 insertions, 4 deletions
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<Song>),
@@ -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),