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 (8 loc) 141 B
export const _isFormatRegex = (str: string): boolean => { try { new RegExp(str); return true; } catch { return false; } };