coriolinus/openapi-gen

response content-type should never be `*` or `*/*` but instead `application/octet-stream`

Opened this issue · 0 comments

Currently, response content-types are generated in a way which causes them to sometimes be set to a wildcard. As the actual function implementation returns a Vec<u8> in those cases, the content-type should be set to application/octet-stream.