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

skip files not working with $$path$$ files #56

Open
caligo-erik opened this issue Apr 26, 2023 · 0 comments
Open

skip files not working with $$path$$ files #56

caligo-erik opened this issue Apr 26, 2023 · 0 comments

Comments

@caligo-erik
Copy link

The skip option doesn't detect existing files if the template file is called $$path$$.*, e.g. $$path$$.js.hbs.

Steps to reproduce:

  • Create new npm project in empty folder
  • Install latest version of openapi3
  • Save this openapi.yaml into project folder
  • run npx openapi3-generator openapi.yaml express
  • re-run npx openapi3-generator openapi.yaml express
  • Check console output: none of the src/api/routes or src/api/routes were skipped.
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

1 participant