We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I have to describe in swagger an API that send a hash of params with a get.
The documented request is like:
curl -v -X GET "https://example.com/usage.xml?api_key=1234&usage[hits]=1&usage[megas]=122"
In the server they get something like:
usage: { hits: 1, megas: 122 }
You can send as many attributes as you want.
How I can describe this kind of request with swagger 2.0?
Thanks!
The text was updated successfully, but these errors were encountered:
Anyone got any ideas to help describe this issue?
Sorry, something went wrong.
That's a non-standard query syntax and it's currently not supported in the spec. I believe there's an open issue for this.
As @fehguy mentioned, this is currently not supported in the spec. Please follow #380 and #367.
No branches or pull requests
Hello, I have to describe in swagger an API that send a hash of params with a get.
The documented request is like:
curl -v -X GET "https://example.com/usage.xml?api_key=1234&usage[hits]=1&usage[megas]=122"
In the server they get something like:
You can send as many attributes as you want.
How I can describe this kind of request with swagger 2.0?
Thanks!
The text was updated successfully, but these errors were encountered: