Closed callmeberzerker closed 1 year ago
This is a TS error only, I can verify that the generateComponents call works and it is producing a valid open api yml 💯
@callmeberzerker thank you for reporting that. And yes as you've noticed this is only a TS error and it is an easy one to fix. I've just opened up a PR
So for some reason in
5.x.x
version of the lib, thedefault
response doesn't accept the valid zod type which isErrorDto
.Now that I notice some details I am using
v3
openAPIRegistry andOpenApiGeneratorV3
-> not sure why its usingopenapid31.d.ts
aboveRepro below 👇