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.

7 lines (4 loc) 199 B
const _isFormatUuid = str => PATTERN.test(str); const PATTERN = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i; export { _isFormatUuid }; //# sourceMappingURL=_isFormatUuid.mjs.map