You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trouble were apparently in the building strategy of typera-zod which was somehow broken (or at least breaking something). I was transpiling to an "hybrid" package (CJS + ESM), and apparently typera-openapi was not liking it.
In my last refactor, I turned it to a pure CJS build; which resolves everything and it works like a charm 🎉
Closing this, however it might need investigation to confirm typera-openapi can work with an ESM parser.
Hi,
According to akheron/typera#688, I'm leaving a comment here, of a non-working generated OpenAPI with a custom parser (typera-zod).
Generated OpenAPI :
The thing is I don't really understand why; since apparently, the strategy is to lookup the type from the
request.body
variable; and it's correctly typed in my example above.I can give a shot a fixing, but I'd need help to know where to start. Any idea ? :)
The text was updated successfully, but these errors were encountered: