Closed callmeberzerker closed 4 months ago
Just ran into the same problem. I also tried out different older versions which are all also affected by this.
@callmeberzerker thank you for reporting that. We will look at this as soon as we can.
@reju1021 do you mean that this is also a problem on older openapi3-ts
versions or older versions of @asteassolutions/zod-to-openapi
@AGalabov seems to be the case for older versions of @asteassolutions/zod-to-openapi too. Thanks for looking into this!
Pinning the version works for me: "openapi3-ts": "4.3.1"
Update: this fixed the problem: https://github.com/metadevpro/openapi3-ts/pull/138 give some thumbs up xD
Appreciate the fix @andreujuanc - this resolved the issue for me as well! :)
@andreujuanc thank you for the fix. I will close the issue
See this PR https://github.com/metadevpro/openapi3-ts/pull/117
Error reported:
Reproduction steps:
module
setting intsconfig.json
toCommonJS
.pnpm install
pnpm tsc