OPENAPI-VALIBOT
v0.1.0 — SchemaConverter for Valibot to @hyper/openapi.
$ hyper add openapi-valibot
Copies 1 file into src/hyper/openapi-valibot/ and updates hyper.lock.json.
DEPS
- registry: openapi
FILES
- openapi-valibot/index.ts
README
@hyper/openapi-valibot
Valibot SchemaConverter for @hyper/openapi.
Install
Components are installed as source into your repo, not pulled from npm. valibot is added to your package.json automatically as a peer dependency.
bunx hyper add openapi openapi-valibot
Usage
import { Hyper } from "@hyper/core"
import { openapiPlugin } from "@hyper/openapi"
import { valibotConverter } from "@hyper/openapi-valibot"
export default new Hyper()
.use(openapiPlugin({ converter: valibotConverter }))
.listen(3000)
Docs
See the main README and docs/ for guides and integration recipes.
License
MIT
MANIFEST
- /r/openapi-valibot.json — latest
- /r/openapi-valibot@0.1.0.json — immutable