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

Feature Request: Create one file per path #40

Open
dpkirchner opened this issue May 4, 2020 · 0 comments · May be fixed by #41
Open

Feature Request: Create one file per path #40

dpkirchner opened this issue May 4, 2020 · 0 comments · May be fixed by #41

Comments

@dpkirchner
Copy link

Currently, the generator creates one file per top-level path component -- that is, if you have paths a/b/c and a/d/e[1] and a path template named routes/$$path$$/route.js.hbs it only creates one file routes/a/route.js. I'd like it to create a/b/c.js or optionally a_b_c.js (assuming I change the path template to routes/$$path$$.js), so I can create path-specific scripts for testing purposes.

dpkirchner pushed a commit to dpkirchner/openapi3-generator that referenced this issue May 6, 2020
@dpkirchner dpkirchner linked a pull request May 6, 2020 that will close this issue
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 a pull request may close this issue.

1 participant