UNPKG

openapi-ts-json-schema

Version:

OpenAPI to JSON schema generator with TypeScript in mind

6 lines (5 loc) 237 B
import type { JSONSchema, SchemaPatcher } from '../../types'; /** * Patch generated schemas with a user-provided patch function */ export declare function patchJsonSchema(schema: JSONSchema, schemaPatcher?: SchemaPatcher): JSONSchema;