UNPKG

@samchon/openapi

Version:

OpenAPI definitions and converters for 'typia' and 'nestia'.

7 lines (6 loc) 333 B
import { OpenApi } from "../OpenApi"; import { SwaggerV2 } from "../SwaggerV2"; export declare namespace SwaggerV2Upgrader { const convert: (input: SwaggerV2.IDocument) => OpenApi.IDocument; const convertSchema: (definitions: Record<string, SwaggerV2.IJsonSchema>) => (input: SwaggerV2.IJsonSchema) => OpenApi.IJsonSchema; }