You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to configure generation in CLI in some kind of config file. When using (npm) generator-clireadme says that you can configure it with openapitools.json file and later use openapi-generator-cli generate --generator-key YOUR_GENERATOR_KEY but on the other hand if you want to use (docker) generator-cli this kind of configuration is unexpected.
[error] Found unexpected parameters: [--generator-key, v3.0]
See 'openapi-generator-cli help' for usage.
Expected behavior
Consistent behavior for both npm generator-cli and docker generator-cli.
Operation System:
OS: Windows
Version 10
Package System:
No package system, just docker:
Docker version 20.10.17, build 100c701
Additional context
IMO it should be well documented (and consistent) how to configure all of configuration properties (global and additional) by CLI using some kind of config file for both npm and docker CLI as it is helpful in CI/CD tools.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report:
Describe the bug
I want to configure generation in CLI in some kind of config file. When using (npm) generator-cli readme says that you can configure it with
openapitools.json
file and later useopenapi-generator-cli generate --generator-key YOUR_GENERATOR_KEY
but on the other hand if you want to use (docker) generator-cli this kind of configuration is unexpected.Steps to Reproduce
Given such a config (
config/config.json
) file:Command:
Produces:
Expected behavior
Consistent behavior for both npm generator-cli and docker generator-cli.
Operation System:
Package System:
No package system, just docker:
Additional context
IMO it should be well documented (and consistent) how to configure all of configuration properties (global and additional) by CLI using some kind of config file for both npm and docker CLI as it is helpful in CI/CD tools.
The text was updated successfully, but these errors were encountered: