cancel
Showing results for 
Search instead for 
Did you mean: 

Open Api swagger yml Config: How to ensure requests are accepted with additional query parameters

Highlighted
New Contributor

Open Api swagger yml Config: How to ensure requests are accepted with additional query parameters

Can anyone point me to the documentation which allows additional query parameters as part of request,

 

For example http://myexample.com?name=dev&additional_param_1=hello&additional_param_2=world

 

In my api.yml I declare name query parameter as required. But I do not care if any additional parameters are provided.

 

Presently, when I validate my request with additional parameters. It fails, complaining that "

Query parameter 'additional_param_1' is unexpected on path and Query parameter 'additional_param_2' is unexpected on path"
 
Thanks for helping me out
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors