ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
14 lines • 576 B
TypeScript
/**
* @fileoverview Zod OpenAPI Extension Initialization
*
* This module ensures that Zod is extended with OpenAPI functionality before
* any schemas are created. All schema files should import `z` from this module
* instead of directly from 'zod' to ensure the `.openapi()` method is available.
*
* This fixes the issue where schemas created before `extendZodWithOpenApi()` was
* called don't have the `.openapi()` method, preventing proper schema registration
* in OpenAPI specifications.
*/
import { z } from "zod";
export { z };
//# sourceMappingURL=zod.d.ts.map