apiaryio / api-blueprint

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

Support query parameter with multiple values #356

Closed nalinchhajer1 closed 8 years ago

nalinchhajer1 commented 8 years ago

Hi, I need a support for below kind of end-point

/products?storeId=24&storeId=45&brandId=1234&brandId=12123

/products?storeId=24&storeId=45&brandId=1234

/products?storeId=24&storeId=45&brandId=1234&categoryId=8889

where storeId, brandId and categoryId are array(string) and are optional.

I have noticed that https://tools.ietf.org/html/rfc6570#section-2.4.2 has schema for it, bit it is not supported in Apiary. User should be able to try above given end-points in machine column in apiary. Please help.

pksunkara commented 8 years ago

We are working on an RFC to allow support for this. You can read this comment and check the related discussion.

pksunkara commented 8 years ago

I am closing this in favour of that issue.