Skip to content

adds support for glob-style input spec paths and directory output paths #615

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

Closed

Conversation

sharmarajdaksh
Copy link
Contributor

This PR adds support for glob-style inputs and directory output paths for the openapi-typescript cli, as mentioned in #526.
With this, something like the following should be possible:

npx openapi-typescript specs/*.yaml -o outdir/
  • Maintains backwards compatibility, and throws reasonable helpful errors.
  • If the input is a glob path and -o flag it specified, it must be a directory
  • Cannot specify remote resources using glob-type paths

@sharmarajdaksh
Copy link
Contributor Author

Needs some fixes! sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant