OPENAPI-ARKTYPE
v0.1.0 — SchemaConverter for ArkType to @hyper/openapi.
$ hyper add openapi-arktype
Copies 1 file into src/hyper/openapi-arktype/ and updates hyper.lock.json.
DEPS
- registry: openapi
FILES
- openapi-arktype/index.ts
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
- /r/openapi-arktype.json — latest
- /r/openapi-arktype@0.1.0.json — immutable