-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
Request url - server variables not parsed properly #926
Comments
Related fastapi/fastapi#594 |
When Without With |
For anybody that searches and finds this "old" issue. Please look at the following ReDoc option: With the redoc-cli enable this via |
Fixed server variables with hyphens and dots. Other use cases reported work fine now. The 3rd case was a valid behavior. The reasoning behind expandDefaultServerVariables here: #1012 (comment) |
ReDoc Version: "2.0.0-rc.8-1"
First case:
Second case:
Third case:
Live links:
ReDoc:
https://magicware.github.io/api/#tag/Business-case/paths/~1reservations~1businessCases/get
Swagger:
https://magicware.github.io/api/swagger-ui#/Business%20case/get_reservations_businessCases
Definition:
https://magicware.github.io/api/swagger.yml
I don't actually know, if my definition is wrong or any special characters are not allowed as servers definition variables. But swagger seems working fine. The thing is, I need in the url some special characters for user, so he sees it as a placeholder for the value further in the documentation. The api can be in various environments based on every request. But the special characters are translated as proper url, which may be good, but does not fit for us. What is the recommended approach?
Can you help me?
Thanks in advance.
The text was updated successfully, but these errors were encountered: