Swagger ui crashing(out of memory) in Springdoc + Grails/Groovy
I'm trying to create a simple API with swagger documentation.
I have this controller:
@RestController
@RequestMapping("/api/v1/authTest")
@Tag(name = "Auth", description = "Endpoints")
class AuthTest{
LoginAuth loginAuth
@PostMapping("/token")
@Operation(summary = "token test")
AuthToken token(@RequestBody CredentialsAuth credentials) {
try {
return loginAuth.autenticate(credentials)
} catch (ApiAuthException e) {
throw new...