I am trying out API Blueprint and found some things, which are not quite clear to me.
1. How can I document POST body parameters?
There is + Parameters
but it just documents query parameters. If I now want to describe a POST API I can't document POST parameters (application/x-www-form-urlencoded). The same goes for JSON (see #3).
2. Is there a way to add a description to a response?
I tried
+ Response 403
If the request request is made with HTTP instead of HTTPS.
But this just adds the text as the body response.
3. Describe the different fields of my response
If I return JSON I want to describe each field separately, its type and its purpose. Is there a way to do that?
Thanks!
+ Body
without any content. This is the unfortunate tradeoff for the abbreviated body syntax – Terrellterrena