HYPERJS.AI

OPENAPI-ARKTYPE

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

$ hyper add openapi-arktype

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

DEPS

FILES

README

@hyper/openapi-arktype

ArkType SchemaConverter for @hyper/openapi.

Install

Components are installed as source into your repo, not pulled from npm. arktype is added to your package.json automatically as a peer dependency.

bunx hyper add openapi openapi-arktype

Usage

import { Hyper } from "@hyper/core"
import { openapiPlugin } from "@hyper/openapi"
import { arktypeConverter } from "@hyper/openapi-arktype"

export default new Hyper()
  .use(openapiPlugin({ converter: arktypeConverter }))
  .listen(3000)

Docs

See the main README and docs/ for guides and integration recipes.

License

MIT

MANIFEST