Open thernstig opened 3 years ago
The doc is correct. responses.<code>.content.<media-type>
defines both the response's Content-Type
header and the request's Accept
header. In other words, possible values for the request's Accept
header are derived from the defined response media types.
https://swagger.io/docs/specification/describing-parameters/ check under "Header Parameters" and the table, where it says "Accept". It says it is part of
responses.<code>.content.<media-type>
and the link in the last column also links to response.But
Accept
is part of a request.