I added the openapi-generator-maven-plugin to my project. Then I saw that by adding two executions in the pom file, I could split api yaml specs into multiple smaller files. This works fine during the generate sources phase, but in the repackage phase the maven build fails because there are also two separate 'OpenApiGeneratorApplication' classes generated. (repackage failed: Unable to find a single main class).
I usually tend to write my own Application class, so I wouldn't mind if they would not be created at all. From what I know, this is only possible by setting the 'generateApis' config param of the plugin to false. But of course then all the *Api, *Controller, *Delegate classes also don't get generated.
I'd like to be able to split my endpoint methods (and schemas) by business type into separate yaml specs. Usually I'd make different projects all together, but in this case I'm not allowed to do so.
Is this achievable without customizing the OpenAPI Code Generator?
Thanks, kopi