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

fix: operationIds slashes/braces #2

Open
astahmer opened this issue Aug 26, 2023 · 0 comments
Open

fix: operationIds slashes/braces #2

astahmer opened this issue Aug 26, 2023 · 0 comments

Comments

@astahmer
Copy link
Owner

I just tried dumping my schema in the new generator btw and it generated invalid code, since my operationIds have invalid chars (slashes and braces). Perhaps you could pass the operationId through the same sanitisation as pathToVariableName? Alternatively, an option to allow ignoring operationId, since imo the paths are canonical

  • add a callback that lets the user update each endpoint definition, add meta, etc
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