-
Notifications
You must be signed in to change notification settings - Fork 6k
Support for file based config. Implementation for #616. #805
New issue
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
Conversation
…th default implementation in DefaultCodegen
…ine options Add all the specified ones to clientOpts properties
Add setters for modelPackage and apiPackage
…rceFolder' command line options for java (and all the derived ones jaxrs, spring-mvc ...) Add processOpts override to process java specific options Move supporting file initialization from constructor to processOpts, since it uses some of the options that are not yet set in the constructor Add setters
setting options passed in config file if those were allowed by lang specific CodegenConfig
👍 |
Can we please merge the pulls from @wing328 in the developer 2.0? I really need it for my production project !!! thank you in advance. |
@uniprof This PR thread is not the correct place to ask for that, as it is unrelated to your request. Please ask in the correct place. |
+1 to merge this PR from @hyeghiazaryan. |
Example of client output when running config-help command
|
@hyeghiazaryan - it's up to @fehguy to merge it, but I would appreciate either a modification to the README.md or an additional file with documentation for this feature (linked from the main README). |
Valid point @webron, I'll modify the README.md. |
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would better to remove these comments to be consistent with other files in the repo
@@ -0,0 +1,54 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please either remove this header or add the Apache 2.0 License header
Looks great - I'd love to merge this - please fix the file headers as indicated in the comments first - thank you! |
Support for file based config. Implementation for #616.
thank you! |
Implementation for #616
This adds file based config support:
--config @config.json
File format