2

I'm documenting my api with Apiary and I'm using the old syntax of the blueprint.

I read somewhere about the separation of different responses with "+++++", but I do not know how to tell when apiary to use my first or second response.

Lachezar Todorov
  • 903
  • 9
  • 21

1 Answers1

2

This is currently not possible, first response is always used.

Support for this will be landing soon, based on status code, content type and prefer header match. See http://support.apiary.io/forums/120125-general/suggestions/3264498-match-on-request-headers for more details.

Almad
  • 5,753
  • 7
  • 35
  • 53