Skip to content
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

Outdir is relative to package.json, rather than the file #15

Open
shankie-codes opened this issue Jul 17, 2017 · 2 comments
Open

Outdir is relative to package.json, rather than the file #15

shankie-codes opened this issue Jul 17, 2017 · 2 comments

Comments

@shankie-codes
Copy link

When I use openapi.genCode(), it outputs the file relative to package.json, rather than the file in which it was called. Is this the expected behaviour? It's a bit different from what most packages do.

Otherwise, great package! Love it!

@mikestead
Copy link
Owner

@shankiesan yeah this is a valid point. It will be a breaking change when done so will require a major version bump. I'll squeeze it in next time I'm in the code.

@shankie-codes
Copy link
Author

Yeah fair enough. No major rush – maybe just add it to the docs for the time being?

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

No branches or pull requests

2 participants