Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
inkognitro committed Oct 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 5ec4b1e + 833ccaf commit 2ace132
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -78,7 +78,12 @@ generateOas3ToTs({
withZod: true, // optional
// By default or in case of `false`, only TypeScript types are generated without Zod schemas

templates: ['AxiosRequestHandler', 'AuthRequestHandler', 'ResponseExtractors'], // optional
templates: [
'AxiosRequestHandler',
'AuthRequestHandler',
'ResponseExtractors',
'ZodValidationRequestHandler'
], // optional
// This will add only the defined templates.
// An empty array results in no added templates.
// By default, all available templates will be added to your codebase.

0 comments on commit 2ace132

Please sign in to comment.