There is currently no special support for this. However, there are several ways to achieve this.
My preference is to discuss this in the description of the request using markdown formatting to your liking, for example:
#
or perhaps:
To add a User send a JSON ..... + Request (application/json) Data about user being created. With following attributes are: + `name` ... name of the user + `age` (optional) ... age of the user + Body { "name": "A name", "age": 30 }
See the http://docs.gtdtodoapi.apiary.io folder collection resource for a further example.
You can also always specify a JSON scheme describing the payload of the body. Pay attention to the dedicated support for discussing the attributes of the message body during the creation process ( https://github.com/apiaryio/api-blueprint/issues/25 )
source share