Apollo314 / openapi-to-zod

MIT License
3 stars 2 forks source link

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.