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
{{ message }}
Repository navigation
Add functions to response models for schema-extraction #2191
At the moment, a generated response might contain a field named JSON200 for the JSON response body of a 200 response, for example. It would be nice if there was also a simple getter function like GetJSON200(). I would like to create an interface which allows a standard handling of all responses and Go does not allow interfaces to have fields, only methods.
Activity
jamietanna commentedon Feb 8, 2026
Sounds reasonable as an opt-in
output-optionsconfiguration!rd-andreas-tollkoetter commentedon May 20, 2026
Thanks @mromaszewicz :)