libopenapi-validator icon indicating copy to clipboard operation
libopenapi-validator copied to clipboard

handle request body media type range

Open emilien-puget opened this issue 9 months ago • 0 comments

as seen here https://swagger.io/specification/v3/#request-body-object a request body content type can be a media type range,

we could extends https://github.com/pb33f/libopenapi-validator/blob/c322bf8cbbec477dc22e1193cff60ec249da813a/requests/validate_body.go#L66 to handle that media range.

wdyt ?

emilien-puget avatar Apr 25 '25 16:04 emilien-puget