summaryrefslogtreecommitdiff
path: root/src/api/song.rs
diff options
context:
space:
mode:
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),