kin-openapi
kin-openapi copied to clipboard
allow vendor content types
Hi, I am using vendor content type like application/vnd.org.v1+json. Because of this, response validation failed with unsupported content type.
Is there a way to tell it to decode it as json?
ok, I found out that I can use openapi3filter.RegisterBodyDecoder. Its just a bit inconvinient that the default included decoders are private, so I had to copy the json one to provide it as argument.
Maybe the default decoders could be public?
@bluebrown looks like this can be closed due to #896