UNPKG

@samchon/openapi

Version:

Universal OpenAPI to LLM function calling schemas. Transform any Swagger/OpenAPI document into type-safe schemas for OpenAI, Claude, Qwen, and more.

8 lines (7 loc) 413 B
import { OpenApi } from "../OpenApi"; import { OpenApiV3_1 } from "../OpenApiV3_1"; export declare namespace OpenApiV3_1Emender { const convert: (input: OpenApiV3_1.IDocument) => OpenApi.IDocument; const convertComponents: (input: OpenApiV3_1.IComponents) => OpenApi.IComponents; const convertSchema: (components: OpenApiV3_1.IComponents) => (input: OpenApiV3_1.IJsonSchema) => OpenApi.IJsonSchema; }