Skip to content

Fix path params to use schema types#298

Open
y-hsgw wants to merge 2 commits into
astahmer:mainfrom
y-hsgw:feature/use-scehma-types-for-path-params
Open

Fix path params to use schema types#298
y-hsgw wants to merge 2 commits into
astahmer:mainfrom
y-hsgw:feature/use-scehma-types-for-path-params

Conversation

@y-hsgw
Copy link
Copy Markdown

@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

@vercel
Copy link
Copy Markdown

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