jsonv-ts
Version:
JSON Schema builder and validator for TypeScript with static type inference, Hono middleware for OpenAPI generation and validation, and MCP server/client implementation. Lightweight, dependency-free, and built on Web Standards.
6 lines (5 loc) • 393 B
TypeScript
export { validator, type Options } from "./middleware";
export { openAPISpecs, describeRoute } from "./openapi/openapi";
export { schemaToSpec } from "./openapi/utils";
export { info, type RouteInfo, type InfoOptions } from "./info";
export type { Document, Info, Server, Paths, PathItemObject, Components, SecurityRequirement, Tag, OperationObject, ParameterObject, } from "./openapi/types";