Skip to content

Commit

Permalink
Merge pull request #204 from chenkins/feature/refactored-access-grant…
Browse files Browse the repository at this point in the history
…-204-without-description

Fix 204 without description.
  • Loading branch information
tobihagemann authored Jun 19, 2023
2 parents 54156b3 + eb63a93 commit a621a0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public BillingDto get() {
@RolesAllowed("admin")
@Consumes(MediaType.TEXT_PLAIN)
@Operation(summary = "set the token")
@APIResponse(responseCode = "204")
@APIResponse(responseCode = "204", description = "token set")
@APIResponse(responseCode = "400", description = "token is invalid (e.g., expired or invalid signature)")
@APIResponse(responseCode = "403", description = "only admins are allowed to set the token")
public Response setToken(@NotNull @ValidJWS String token) {
Expand Down

0 comments on commit a621a0c

Please sign in to comment.