-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
Question
Reading the following part https://github.com/OAI/OpenAPI-Specification/blame/master/versions/3.1.0.md#L1451
it is not clear to me the meaning of the following sentence
contentEncoding
keyword [..] may be used to specify theContent-Encoding
for the schema.
My understanding is that it specifies the encoding used to serialize the application data before it is passed
to the HTTP layer, which eventually adds one or more content-coding
s.
The encoding specified by the contentEncoding keyword
is independent of an encoding specified by the Content-Type header
in the request or response or metadata of a multipart body
[..] then the encoding specified in the Content-Type header.
Is Content-Type
the HTTP header field? In that case, iiuc its value is a media-type
: how can I specify an encoding? Does it mean "charset"?
cc: @handrews