Closed
Description
Given the headers section has a definition for a given header (let's say ETag) the question is:
Is the header required to be present in the response sent by the server?
headers: A list of headers that are sent with the response.
https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#fixed-fields-10Headers object: Lists the headers that can be sent as part of a response.
https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#headersObject
Reading the first definition I understand that is REQUIRED.
Reading the second definition I understand that is OPTIONAL.
Spec should be rephrased clarifying this aspect.
Metadata
Metadata
Assignees
Labels
No labels