how to pass multi value query params in swagger
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have following service in swagger.yml. The service is written so that page_id can be passed multiple times. e.g /pages?page_id[]=123&page_id[]=542 I checked this link https://swagger.io/specification/ but couldnt understand how could i update yml so i could pass id multiple times. I see that i have to set collectionFormat but dont know how. I tried updating it like below but no luck https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md . it generates url like ' http://localhost:0000/pages?page_id=123%2C%20542 `