apiaryio / api-blueprint

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

multiple examples with different parameter value #283

Closed hs3180 closed 8 years ago

hs3180 commented 8 years ago

We have multiple examples for different pair of request body and response now, like:

+ Request
  ...
+ Response xxx
  ...

But it could just set different request body. sometimes, I want to show examples that use different request parameters in query. I've tried following:

+ Parameters
  para: ...
+ Response xxx
  ...
+ Parameters
  para: ...
+ Response xxx
  ...

It will just overwrite parameters. What I really want is that show multiple examples with different parameters and response.

pksunkara commented 8 years ago

@hs3180 We are already tracking this feature request at #58. If you go through it, you can see our proposed changes to API Blueprint. Please follow the updates there.