I want to deploy an API which is having query string.This is the API
v1/products?q=circuit breaker&locale=en-GB&pageSize=8&pageNo=1&project=G
Your IN parameter needs to be "query" not "path"
This should work:
"parameters": [ { "name":"country", "in":"query", "description":"The Country that needs to be fetched. Example=France, India etc.", "required":false, "type":"string" } ]