HYPERJS.AI

OPENAPI-VALIBOT

v0.1.0SchemaConverter for Valibot to @hyper/openapi.

$ hyper add openapi-valibot

Copies 1 file into src/hyper/openapi-valibot/ and updates hyper.lock.json.

DEPS

FILES

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