From 342938a8aed8ba6b9b26391e759d188bbfd7382c Mon Sep 17 00:00:00 2001 From: Marcel Fischer Date: Tue, 1 Oct 2024 23:19:28 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba86deba..c62644a1 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ 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. From 833ccafb2ef9364c407d7c38111723db9837535e Mon Sep 17 00:00:00 2001 From: Marcel Fischer Date: Tue, 1 Oct 2024 23:22:50 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c62644a1..1e8f1c17 100644 --- a/README.md +++ b/README.md @@ -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', 'ZodValidationRequestHandler'], // 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.