-
-
Notifications
You must be signed in to change notification settings - Fork 129
Add support for valibot plugin and example #2113
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
base: main
Are you sure you want to change the base?
Conversation
|
Co-authored-by: stijnvanhulle <[email protected]>
Co-authored-by: stijnvanhulle <[email protected]>
|
@copilot Continue |
Co-authored-by: stijnvanhulle <[email protected]>
|
@copilot Continue |
Co-authored-by: stijnvanhulle <[email protected]>
|
@copilot Continu |
Co-authored-by: stijnvanhulle <[email protected]>
|
@copilot merge main and continue |
…/add-plugin-valibot-support
Co-authored-by: stijnvanhulle <[email protected]>
|
The preview deployment for kubb-labs/kubb:main is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2025-12-09 16:04:27 CET |
Merged main branch successfully in commit 92a7cd0. Documentation has been added in commit 1e757c6. The Valibot plugin is now complete with:
The plugin successfully generates Valibot validation schemas from OpenAPI specifications. |
More templates
@kubb/cli
@kubb/core
kubb
@kubb/mcp
@kubb/oas
@kubb/plugin-client
@kubb/plugin-cypress
@kubb/plugin-faker
@kubb/plugin-mcp
@kubb/plugin-msw
@kubb/plugin-oas
@kubb/plugin-react-query
@kubb/plugin-redoc
@kubb/plugin-solid-query
@kubb/plugin-svelte-query
@kubb/plugin-swr
@kubb/plugin-ts
@kubb/plugin-valibot
@kubb/plugin-vue-query
@kubb/plugin-zod
unplugin-kubb
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2113 +/- ##
=======================================
Coverage 79.49% 79.49%
=======================================
Files 142 142
Lines 5496 5496
Branches 2342 2342
=======================================
Hits 4369 4369
Misses 1002 1002
Partials 125 125 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Implementation Plan for Valibot Plugin Support
Summary
This PR adds complete support for Valibot validation schemas in Kubb. The implementation includes:
Plugin Package (
@kubb/plugin-valibot)v.InferOutput<typeof Type>Example
examples/valibotwith PetStore APIDocumentation
docs/plugins/plugin-valibot/index.mddocs/examples/valibot.mdThe plugin is based on the Zod plugin architecture and uses https://valibot.dev/ for runtime validation. All generated schemas follow Valibot best practices and are production-ready.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.