We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When generating a new template, the standard config do not specify the correct templateDir Let's say you created a new client with
templateDir
./new.sh -n test -c
The config created have this templateDir specified in the standard config
generatorName: test outputDir: samples/client/petstore/test inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml templateDir: modules/openapi-generator/src/main/resources/test additionalProperties: hideGenerationTimestamp: "true"
The template should have been:
templateDir: modules/openapi-generator/src/main/resources/test-client
As the template as named test-client in resources
test-client
5.1.1 (source-master)
openapi-generator/new.sh
Line 208 in 946d145
#9321
The text was updated successfully, but these errors were encountered:
[BUG] new.sh fix generator type , issue #9320 (#9321)
dbb42f9
* generation type on template dir path * remove gen_type from template and resources
No branches or pull requests
Bug Report Checklist
Description
When generating a new template, the standard config do not specify the correct
templateDir
Let's say you created a new client with
The config created have this templateDir specified in the standard config
The template should have been:
As the template as named
test-client
in resourcesopenapi-generator version
5.1.1 (source-master)
OpenAPI declaration file content or url
openapi-generator/new.sh
Line 208 in 946d145
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
#9321
The text was updated successfully, but these errors were encountered: