summaryrefslogtreecommitdiff
path: root/src/api/artist.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/artist.rs
parenta22d756eee31c8ba52a0d4dd119693d696d5eb1a (diff)
garbage code for deployment
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),