Closed p1ass closed 1 year ago
application/problem+json
content type.Content types ... are unsupported
error, you may instruct ogen to decode application/problem+json
like JSON by using --ct-alias "application/problem+json=application/json"
option.It doesn't seem like any special support needed.
I missed that parameter. It worked fine! Thanks for letting me know!
Description
I request support for the
application/problem+json
Content-Type.Calling API server returns error responses as
application/problem+json
which is defined by RFC 7808. ogen does not currently supportapplication/problem+json
, so when I use a generated API client, I got the below error:References