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) 205 B
export namespace AccessorUtil { export const reference = (prefix: string): string => prefix .split("/") .filter((str, i) => !!str.length && !(i === 0 && str === "#")) .join("."); }