[BUG][JAVA] Crash generating Spring server from OpenBanking swagger
Created by: elier
Description
I'm trying to generate a SpringBoot server using an OpenBanking swagger and I get the following error:
java.lang.RuntimeException: Could not process model 'CreditInterest'.Please make sure that your schema is correct!
I think the schema is correct, it is just very complex.
openapi-generator version
4.1.1
OpenAPI declaration file content or url
Command line used for generation
java -jar openapi-generator-cli.jar generate -i account-info-openapi.3.yaml -g spring -o openapi-generator-openbanking3-test
Steps to reproduce
Download the swagger file and try to generate a spring server with -g spring
Related issues/PRs
N/A
Suggest a fix
The CreditInterest object has several nested objects. I'm trying to pinpoint what exactly make the generate fails