The Header Object follows the structure of the Parameter Object with the following changes

12 views
Skip to first unread message

Stan

unread,
Feb 22, 2018, 7:37:06 AM2/22/18
to Swagger
Hi, OAS3 Spec says:
 
Header Object
The Header Object follows the structure of the Parameter Object with the following changes:
 - name MUST NOT be specified, it is given in the corresponding headers map.
 - in MUST NOT be specified, it is implicitly in header.
 - All traits that are affected by the location MUST be applicable to a location of header (for example, style).

I'm a bit paranoid about it, does it mean that Header Object can have `content` field?

Ron Ratovsky

unread,
Feb 22, 2018, 9:38:45 AM2/22/18
to swagger-sw...@googlegroups.com

It does.

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
swagger-swaggers...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages