0.0.9 • Published 2 years ago

openapi-to-zod v0.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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.