Open grexe opened 4 years ago
We've not yet added auto-generated API test files to the spring generator: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java#L145
and we would appreciate the contribution to add the enhancement.
May I know if you've time to file a PR?
We can take the Java client/server test mustache templates to start with and update accordingly.
Description
Despite correct options and reading the docs, no test sources are generated for valid yaml with the Java spring/spring-boot generator.
openapi-generator version
openapi-generator(-maven-plugin) 4.3.1
OpenAPI declaration file content or url
cannot post without confirmation from company, but models are generated just fine, only tests are missing.
Command line used for generation
Using Maven 3.6.1, AdoptOpenJDK 11.0.4 and version above.
Steps to reproduce
options used:
Suggest a fix
quickly glanced the source of the Java generator and saw that api test folders are set, but did not check further.