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.

1 lines 443 B
{"version":3,"file":"_isFormatRelativeJsonPointer.mjs","sources":["../../src/functional/_isFormatRelativeJsonPointer.ts"],"sourcesContent":["export const _isFormatRelativeJsonPointer = (str: string): boolean =>\n PATTERN.test(str);\n\nconst PATTERN = /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/;\n"],"names":["_isFormatRelativeJsonPointer","str","PATTERN","test"],"mappings":"AAAO,MAAMA,+BAAgCC,OAC3CC,QAAQC,KAAKF;;AAEf,MAAMC,UAAU;;"}