openapi-to-zod
v0.0.9
Published
creates zod objects from openapi schema
Downloads
359
Readme
Usage
npx openapi-to-zod -i 'url-to-schema' -o './src/zod-objects-folder'
would create zod objects for the components in the openapi schema given in the url to the folder ./src/zod-objects-folder
this cli uses json-schema-to-zod to create the zod objects.