This repository has been archived by the owner on Jul 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Support multiple request headers #129
Comments
honzajavorek
added a commit
to apiaryio/dredd-transactions
that referenced
this issue
Aug 29, 2017
Close #9 Related to apiaryio/dredd#356 Related to apiaryio/fury-adapter-swagger#129 BREAKING CHANGE: This changes the structure of Dredd Transactions' output. Previously, the request and response headers would be provided as an object {'Content-Type': {'value': 'application/json'}, ...} This is now array [{'name': 'Content-Type', 'value': 'application/json'}, ...]
honzajavorek
added a commit
to apiaryio/dredd-transactions
that referenced
this issue
Oct 19, 2017
Close #9 Related to apiaryio/dredd#356 Related to apiaryio/fury-adapter-swagger#129 BREAKING CHANGE: This changes the structure of Dredd Transactions' output. Previously, the request and response headers would be provided as an object {'Content-Type': {'value': 'application/json'}, ...} This is now array [{'name': 'Content-Type', 'value': 'application/json'}, ...]
honzajavorek
added a commit
to apiaryio/dredd-transactions
that referenced
this issue
Oct 25, 2017
Close #9 Related to apiaryio/dredd#356 Related to apiaryio/fury-adapter-swagger#129 BREAKING CHANGE: This changes the structure of Dredd Transactions' output. Previously, the request and response headers would be provided as an object {'Content-Type': {'value': 'application/json'}, ...} This is now array [{'name': 'Content-Type', 'value': 'application/json'}, ...]
honzajavorek
added a commit
to apiaryio/dredd-transactions
that referenced
this issue
Nov 13, 2017
Close #9 Related to apiaryio/dredd#356 Related to apiaryio/fury-adapter-swagger#129 BREAKING CHANGE: This changes the structure of Dredd Transactions' output. Previously, the request and response headers would be provided as an object {'Content-Type': {'value': 'application/json'}, ...} This is now array [{'name': 'Content-Type', 'value': 'application/json'}, ...]
This is not permitted in the OpenAPI 2 spec:
You may do |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is no support for multiple response headers of the same name in Swagger 2.0, but there is a way how to have multiple request headers of the same name:
This syntax returns error though:
Related: OAI/OpenAPI-Specification#1237
The text was updated successfully, but these errors were encountered: