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
example: | &filter={"company_id":"3"}
is rendered as Example: "&filter={\"company_id\":\"3\"}\n"
"&filter={\"company_id\":\"3\"}\n"
how to get rid of escape slashes?
below is part of my spec
paths: /roles: get: parameters: - name: filter in: query required: false schema: type: object properties: company_id: type: string name: type: string example: | &filter={"company_id":"3"}
The text was updated successfully, but these errors were encountered:
This is a bug in Redoc.
Sorry, something went wrong.
1367380
Implemented json serialization support.
See details here: https://swagger.io/docs/specification/describing-parameters/#schema-vs-content
In your case, use:
paths: /roles: get: parameters: - name: filter in: query required: false content: application/json: schema: type: object properties: company_id: type: string name: type: string example: {"company_id":"3"}
It will land in the upcoming version 2.0.0-rc.13
2.0.0-rc.13
No branches or pull requests
is rendered as
Example:
"&filter={\"company_id\":\"3\"}\n"
how to get rid of escape slashes?
below is part of my spec
The text was updated successfully, but these errors were encountered: