-
Notifications
You must be signed in to change notification settings - Fork 191
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
[zod-openapi] parameters mapped to schema + form explode #792
Comments
Hi @hffmnn I think this is probably the Zod to OpenAPI-side matter which is used in the Zod OpenAPI. Can you check it? |
@takakikasuga Thanks a lot for that info. Much appreciated! |
@takakikasuga Woooow, great! @hffmnn Can we close this issue? |
@yusukebe Absolutely. Will do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: Because openapi-zod is a library standing on the shoulders of other libraries, I don't have an idea if this is the correct repository to ask.
I am currently migrating an existing API with an OpenAPI spec (that users use to automatically generate clients) to hono. What I would need (without breaking changes for automatically generated clients), would be this:
I have the following call to
createRoute
and the following schema:
When generating some OpenAPI, it generates this as parameters (yaml for better readability):
First question: Shouldn't it put the schemas under a shared component (as it does with responses). This is what I would have expected:
So far I am without any luck to achieve this.
Second question: Where would it be possible to add the
style
andexplode
properties?The text was updated successfully, but these errors were encountered: