summaryrefslogtreecommitdiff
path: root/src/api/artist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/artist.rs')
-rw-r--r--src/api/artist.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/artist.rs b/src/api/artist.rs
index 1fdae37..93a8956 100644
--- a/src/api/artist.rs
+++ b/src/api/artist.rs
@@ -16,7 +16,7 @@ pub struct ArtistQueryOptions {
#[utoipa::path(
params(ArtistQueryOptions),
- context_path = "/api",
+ context_path = "/balalaika/api",
description = "Gets a list of the current artists 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 artists", body = Vec<Artist>),
@@ -60,7 +60,7 @@ pub async fn get_artist(
#[utoipa::path(
request_body = ArtistPost,
- context_path = "/api",
+ context_path = "/balalaika/api",
description = "Creates a new artist with the specified name.",
responses(
(status = 200, description = "Create new artist", body = Response),
@@ -88,7 +88,7 @@ pub async fn post_artist(
#[utoipa::path(
request_body = ArtistPut,
- context_path = "/api",
+ context_path = "/balalaika/api",
description = "Edits the name of the specified artist.",
responses(
(status = 200, description = "Edit artist name", body = Response),
@@ -116,7 +116,7 @@ pub async fn put_artist(
#[utoipa::path(
request_body = Delete,
- context_path = "/api",
+ context_path = "/balalaika/api",
description = "Deletes the specified artist.",
responses(
(status = 200, description = "Delete existing artist", body = Response),