ErikWittern / openapi-snippet

Generates code snippets for given Swagger / Open API documents
MIT License
116 stars 67 forks source link

Headers are not differentiated based on them being in requests or responses #2

Closed ErikWittern closed 7 years ago

ErikWittern commented 8 years ago

E.g., in some cases, the snippets send x-rate-limit headers in the request - whereas they should really be headers of the response.

ErikWittern commented 7 years ago

Further inspection revealed that this problem was caused by the headers for the response being wrongly specified in the request.