@nexusts/openapi
v0.9.6
Published
OpenAPI 3.1 spec generation from Zod
Readme
@nexusts/openapi
NexusTS — Bun-native fullstack framework
Description
OpenAPI 3.1 spec generation from Zod schemas.
Auto-derives the spec from Zod validation schemas. Scalar UI at /docs. router.getRoutes() feeds the spec from declared routes.
Install
This module is part of the NexusTS monorepo. Each module is published as its own npm package under the @nexusts/ scope.
Most apps start with just the core:
bun add @nexusts/coreThen add this module only if you need it:
bun add @nexusts/openapiPeer dependencies
None. No external dependencies.
Usage
import { /* public API */ } from "@nexusts/openapi";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
