@povio/openapi-codegen-cli 0.3.6 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/openapi-codegen-cli",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "main": "./dist/index.js",
5
5
  "bin": {
6
6
  "openapi-codegen": "./dist/sh.js"
@@ -10,6 +10,7 @@ export namespace {{namespace}} {
10
10
  {{/if}}
11
11
  {{#each zodSchemasData as | zodSchema |}}
12
12
  {{! Zod schema export }}
13
+ {{#if zodSchema.isCircular}}// TODO: Fix type inference {{/if}}
13
14
  export const {{@key}}{{#if zodSchema.isCircular}}: z.ZodType<unknown>{{/if}} = {{{zodSchema.code}}};
14
15
  {{! Zod schema infered type export }}
15
16
  export type {{zodInferedType @key}} = z.infer<typeof {{@key}}>;