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
@amsal the fact that application/json is present appears to be a bug, thanks for reporting! I'll fix this ASAP.
As for the Content-Type header, Huma will document every header in your response and that is by design. I recommend keeping it, but if you absolutely want to remove it you can do so:
I want to return a binary image response from one of my routes.
https://go.dev/play/p/YlsBFq25iaK
But the generated openapi schema has few definitions I do not want.
Is it possible to change the success response to this? (remove the json response and content-type header)
The text was updated successfully, but these errors were encountered: