@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.
7 lines (6 loc) • 333 B
text/typescript
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;
}