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.

9 lines (6 loc) 281 B
var SwaggerV2; (function(SwaggerV2) { SwaggerV2.is = input => typeof input === "object" && input !== null && typeof input.swagger === "string" && input.swagger.startsWith("2.0"); })(SwaggerV2 || (SwaggerV2 = {})); export { SwaggerV2 }; //# sourceMappingURL=SwaggerV2.mjs.map