Skip to content

Commit

Permalink
docs: update swagger.yml for PUT method (#80)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Lapotor authored Dec 14, 2023
1 parent ed84050 commit d460257
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/assets/swagger,yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ paths:
$ref: "#/responses/404"
"500":
$ref: "#/responses/500"
patch:
put:
tags:
- Shows
summary: "Updates an existing show by ID."
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -319,7 +319,7 @@ paths:
$ref: "#/responses/404"
"500":
$ref: "#/responses/500"
patch:
put:
tags:
- User
summary: "Updates a user by ID."
Expand Down Expand Up @@ -470,7 +470,7 @@ paths:
$ref: "#/responses/404"
"500":
$ref: "#/responses/500"
patch:
put:
tags:
- Role
summary: "Update a role"
Expand Down

0 comments on commit d460257

Please sign in to comment.