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
we just upgraded from oapi-codegen 2.3.0 to 2.5.1 and our go code generated from OpenAPI isn't valid anymore. I pinned down the issue to response components being referenced in endpoints and came up with this minimal reproducible spec:
Activity
mromaszewicz commentedon Feb 16, 2026
Yep, confirmed. Totally a regression. Looking into it.
mromaszewicz commentedon Feb 16, 2026
The cause of this issue is actually this revert:
#1132
test: add regression test for issue oapi-codegen#2190
fix: generate correct type for $ref text responses in strict server (o…
jamietanna commentedon Feb 16, 2026
Did we not revert that in #1773 ?
Edit: I see #2225 - thanks!
fix(strict-server): generate correct type for `$ref` text responses (#…
bravenut commentedon Feb 16, 2026
Thanks for fixing! Looking forward to the next release