is there a way to describe that one of a couple of headers is required? #4174
-
We wanted to describe a GET endpoint that requires oneOf two headers. The request headers area (parameters) allows a for now we're just describing this requirement via the description of the endpoint. Am I missing somehting? or is this a limitation of the current specs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@samzilverberg you are not missing anything. This will almost certainly be changed in 4.0 "Moonwalk". I'm not sure there's much we could do in 3.2 as adding cross-parameter relationships would be complex to do in a backwards-compatible manner. |
Beta Was this translation helpful? Give feedback.
@samzilverberg you are not missing anything. This will almost certainly be changed in 4.0 "Moonwalk". I'm not sure there's much we could do in 3.2 as adding cross-parameter relationships would be complex to do in a backwards-compatible manner.