Does Apiary.io and/or API Blueprint support api versioning?
问题 Does api blueprint or Apiary.io support the notion of versioning your API? In particular, I'm versioning my API via the URI like this: GET /api/v2/SomeResource/ In the example above, this means I'm calling version 2 ("v2") of the API. Does api blueprint support this? How can I document multiple versions of a given action or the entire API? 回答1: You can use HOST header to signify that: HOST: http://example.com/api/v2 is going to prefix all resources with /api/v2 . In the API Blueprint, if you