Skip to content

Commit eb63a93

Browse files
authored
Fix 204 without description.
org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI). | Error count: 1, Warning count: 0 Errors: -attribute paths.'/api/billing/token'(put).responses.204.description is missing
1 parent 54156b3 commit eb63a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/org/cryptomator/hub/api/BillingResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public BillingDto get() {
5252
@RolesAllowed("admin")
5353
@Consumes(MediaType.TEXT_PLAIN)
5454
@Operation(summary = "set the token")
55-
@APIResponse(responseCode = "204")
55+
@APIResponse(responseCode = "204", description = "token set")
5656
@APIResponse(responseCode = "400", description = "token is invalid (e.g., expired or invalid signature)")
5757
@APIResponse(responseCode = "403", description = "only admins are allowed to set the token")
5858
public Response setToken(@NotNull @ValidJWS String token) {

0 commit comments

Comments
 (0)