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.

4 lines (2 loc) 127 B
export const _isFormatJsonPointer = (str: string): boolean => PATTERN.test(str); const PATTERN = /^(?:\/(?:[^~/]|~0|~1)*)*$/;