The documentation for the "encoding" object describes contentType as a comma-separated list of media-types (wildcards permitted).
- what is the purpose of listing more than one media-type here? When deserializing a message body, how do we know which one to use? And when serializing, what purpose does this field serve?
- this is inconsistent with the schema, which specifies that the property is
format: media-range, which a comma-separated list is not.
The example which uses this, https://spec.openapis.org/oas/latest#example-url-encoded-form-with-binary-values, also does not clarify how the contentType of "image/png, image/jpeg" is to be used.
The documentation for the "encoding" object describes
contentTypeas a comma-separated list of media-types (wildcards permitted).format: media-range, which a comma-separated list is not.The example which uses this, https://spec.openapis.org/oas/latest#example-url-encoded-form-with-binary-values, also does not clarify how the contentType of "image/png, image/jpeg" is to be used.