Alright should fix the generation now...

This commit is contained in:
Michael Chung committed 2023-12-06 21:31:37 -05:00
1 parent 43b6808f23
commit f4176bf84a
4 files changed
+4 -4

No files matched your search

@@ -76,7 +76,7 @@ impl fmt::Display for DeleteWeightError {
#[utoipa::path(
delete,
path = "/weight/{weight_token}",
path = "/v1/weights/weight/{weight_token}",
responses(
(status = 200, description = "Success Delete", body = SimpleGenericJsonSuccess),
(status = 400, description = "Bad input", body = DeleteWeightError),
@@ -75,7 +75,7 @@ impl ResponseError for GetWeightError {
}
#[utoipa::path(
get,
path = "/weight/{weight_token}",
path = "/v1/weights/weight/{weight_token}",
responses(
(status = 200, description = "Success Update", body = GetWeightResponse),
(status = 400, description = "Bad input", body = GetWeightError),
@@ -106,7 +106,7 @@ impl ResponseError for ListWeightError {
#[utoipa::path(
get,
path = "/list/",
path = "/v1/weights/list/",
responses(
(status = 200, description = "List Weights", body = ListAvailableWeightsSuccessResponse),
(status = 401, description = "Not authorized", body = ListWeightError),
@@ -74,7 +74,7 @@ impl fmt::Display for UpdateWeightError {
// =============== Handler ===============
#[utoipa::path(
post,
path = "/weight/{weight_token}",
path = "/v1/weights/weight/{weight_token}",
responses(
(status = 200, description = "Success Update", body = SimpleGenericJsonSuccess),
(status = 400, description = "Bad input", body = UpdateWeightError),