CLI options via redocly.yaml #2394
StefSchenkelaars
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently configure the tool using the
redocly.yamlfile:It's great that the configuration of the two tools is now combined. I also use the
--root-typesoption. To ensure this CLI option is always included, I've created a script alias inpackage.json:{ "scripts": { "openapi-typescript": "openapi-typescript --root-types" } }This however split the configuration for the tool between the
redocly.yamlfile and thepackage.jsonfile. My idea is to also be able to set other CLI options via theredocly.yamlfile, for example theroot-typesas shown below:What do you all think about this?
Beta Was this translation helpful? Give feedback.
All reactions