Back to results
Apollo314/openapi-to-zod(opens in a new tab)
Language: TypeScript
- stars
- 4
- watchers
- 1
- forks
- 2
- open issues
- 3
- Last updated
- 12/17/2023
Language: TypeScript
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.