apiaryio / api-blueprint

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

Dynamic <parameter name> #400

Open nicolqs opened 6 years ago

nicolqs commented 6 years ago

All posts [GET /[before|since]={timestamp}]

How do I write "either since or before"? one OR the other is required, not none, not both Is this considered anenum of parameter name?

kylef commented 6 years ago

That isn't something that is possible right now, however it is on our roadmap regarding adding MSON Support for Parameters (https://github.com/apiaryio/api-blueprint-rfcs/pull/3).