[Question] Implementation of ContentTypeFilter
doesn't affect OAS generation.
#559
Labels
bug
Something isn't working
ContentTypeFilter
doesn't affect OAS generation.
#559
Hi there!
I've got the following types
What I'm trying to do is override the response Content-Type.
Based on this document: https://pkg.go.dev/github.com/danielgtaylor/huma/v2#ContentTypeFilter I expect that implementation of
ContentTypeFilter
onResponse
( in this case ) would change ContentType in the generated OAS as well.At the moment, in the generated spec I get the following:
Please help me to understand whether it's expected or not?
Thank you.
The text was updated successfully, but these errors were encountered: