apiaryio / api-elements

API Elements is a structure for describing APIs and the complex data structures used within them.
http://apielements.org/
MIT License
28 stars 10 forks source link

Make `HTTP Headers` an array of `HTTP Header` #44

Open pksunkara opened 6 years ago

pksunkara commented 6 years ago

Currently, HTTP Headers is a subtype of Object Element. But a HTTP Header can occur multiple times, which means HTTP Headers should be an array of HTTP Header.

Proposal

  1. Introduce new element named HTTP Header which is subtype of Member Element
  2. Make HTTP Headers array of HTTP Header