From d4602573bb9cf3f277e2c2e2e7de9ba6e290632b Mon Sep 17 00:00:00 2001 From: Lapotor <17144397+Lapotor@users.noreply.github.com> Date: Thu, 14 Dec 2023 19:30:40 +0100 Subject: [PATCH] docs: update `swagger.yml` for PUT method (#80) Update the Swagger file to reflect the use of the PUT method instead of PATCH. This change ensures that the API documentation accurately represents the current implementation, enhancing clarity and correctness in the documentation. Signed-off-by: Valentin Sickert <17144397+Lapotor@users.noreply.github.com> --- .github/assets/swagger,yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/assets/swagger,yml b/.github/assets/swagger,yml index 454d5013..247f447c 100644 --- a/.github/assets/swagger,yml +++ b/.github/assets/swagger,yml @@ -100,7 +100,7 @@ paths: $ref: "#/responses/404" "500": $ref: "#/responses/500" - patch: + put: tags: - Shows summary: "Updates an existing show by ID." @@ -181,7 +181,7 @@ paths: $ref: "#/definitions/Request" "500": $ref: "#/responses/500" - post: + put: tags: - Requests summary: "Sends a request to the radio station's wishbox." @@ -319,7 +319,7 @@ paths: $ref: "#/responses/404" "500": $ref: "#/responses/500" - patch: + put: tags: - User summary: "Updates a user by ID." @@ -470,7 +470,7 @@ paths: $ref: "#/responses/404" "500": $ref: "#/responses/500" - patch: + put: tags: - Role summary: "Update a role"