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 path params to use schema types #298

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

y-hsgw
Copy link

@y-hsgw y-hsgw commented Jul 21, 2024

HiπŸ–οΈ
As per the title, I have updated the path parameters to use schema types.
This is a proposal, so please let me know if you find any issues πŸ™‡β€β™‚οΈ.
I have basically moved getZodChain, which was used in getZodiosEndpointDefinitionList.ts, into openApiToZod.ts.
This is my first PR for this library, so there might be some shortcomings. I appreciate your review.

issue: fixes #158 , #159

Copy link

vercel bot commented Jul 21, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
openapi-zod-client-rim4 βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 21, 2024 6:38am

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.

Regexes are not added to the usage site instead of the schema declaration
1 participant