apiaryio / api-blueprint

API Blueprint
https://apiblueprint.org
MIT License
8.63k stars 2.14k forks source link

Multiple Requests don't render in Console #435

Open rboy1 opened 5 years ago

rboy1 commented 5 years ago

I'm trying to implement a case of multiple request examples as specified in the documentation:

# Resource [/resource]
## Create Resource [POST]

+ request A
   + attributes
        ...

   + Body
        ...

+ request B

   + attributes
        ...

   + Body
        ...

+ request C

   + attributes
        ...

   + Body
        ...

+ request D

   + attributes
        ...

   + Body
        ...

+ response 200

        ...

While it renders okay in the Example and shows a separate Request section for each request, however in the Console it only takes the first Request and ignores the rest. Shouldn't it also allow the user to select which Request or provide a separate Console for each Request under Body?

patricksmms commented 5 years ago

Indeed it should behave as you specified, but at the moment the console always takes the first. We have this feature in the pipeline for a future release.