Skip to content

Commit

Permalink
fix: update options for zod client generation (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinawuensche committed Jul 1, 2024
1 parent 55c786f commit a9b7277
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/generate-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ openApiDoc = {
await generateZodClientFromOpenAPI({
openApiDoc,
distPath: options.dist,
options: {
shouldExportAllTypes: true,
withAlias: true,
},
});

console.log("Client creation completed");

Check warning on line 57 in scripts/generate-api-client.ts

View workflow job for this annotation

GitHub Actions / Validate (20.x, ubuntu-latest)

Unexpected console statement
Expand Down

0 comments on commit a9b7277

Please sign in to comment.