x-to-zod / getGlobalAdapter
Function: getGlobalAdapter()
ts
function getGlobalAdapter(): SchemaInputAdapter;Defined in: src/SchemaInput/index.ts:69
Return the active adapter, or the default JsonSchemaAdapter if none registered.
Note: The JsonSchemaAdapter default is wired lazily via the initializer in src/JsonSchema/parsers/parseSchema.ts which calls registerAdapter(jsonSchemaAdapter) on module load, ensuring the default is always available before any parse call.