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

Component Schemas definition for routes with Valibot #61

Open
arpadgabor opened this issue Feb 10, 2025 · 0 comments
Open

Component Schemas definition for routes with Valibot #61

arpadgabor opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@arpadgabor
Copy link

Similarly to how Zod works:

z.object().openapi({ ref: 'Name of my reusable schema' })

I'm wondering if there is any simple way to do the same thing with valibot.

Referenced issue: #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants