Bugfix: Fix wrong OpenAPI schemas
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
This commit is contained in:
@@ -39,7 +39,7 @@ public class UserAuthenticationController {
|
||||
@Operation(summary = "Registriert einen neuen Benutzer", description = "Erstellt einen neuen Benutzer und gibt die Benutzerdaten zurück")
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(responseCode = "200", description = "Benutzer erfolgreich registriert",
|
||||
content = @Content(mediaType = "application/json", schema = @Schema(implementation = LoginResponseDTO.class))),
|
||||
content = @Content(mediaType = "application/json", schema = @Schema(implementation = RegistrationResponseDTO.class))),
|
||||
@ApiResponse(responseCode = "400", description = "Ungültige Eingabedaten",
|
||||
content = @Content(mediaType = "application/json"))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user