@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.
13 lines (12 loc) • 455 B
text/typescript
import { OpenApi } from "../OpenApi";
import { IHttpMigrateRoute } from "../structures/IHttpMigrateRoute";
export declare namespace HttpMigrateRouteComposer {
interface IProps {
document: OpenApi.IDocument;
method: "head" | "get" | "post" | "put" | "patch" | "delete";
path: string;
emendedPath: string;
operation: OpenApi.IOperation;
}
const compose: (props: IProps) => IHttpMigrateRoute | string[];
}