OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
I have a config file which specifies the apiPackage, modelPackage and invokerPackage. With apiPackage and modelPackage it works but for the invokerPackage it always takes the default org/openapitools/client/ directory (and the folder is named infrastructure instead of invoker?).
With Java it works, so it must have something to do with openapi itself.
Description
I have a config file which specifies the apiPackage, modelPackage and invokerPackage. With apiPackage and modelPackage it works but for the invokerPackage it always takes the default org/openapitools/client/ directory (and the folder is named infrastructure instead of invoker?). With Java it works, so it must have something to do with openapi itself.
openapi-generator version
5.0.0-SNAPSHOT
Command line used for generation
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i /path/to/swagger.json -g kotlin -o /path/to/output -c /path/to/config.json --additional-properties useRxJava2=true
config.json
{ "apiPackage":"ch.something.something.httpclient.api", "modelPackage":"ch.something.something.httpclient.model", "invokerPackage":"ch.something.something.httpclient.invoker", "library": "jvm-retrofit2" }