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
The schema switch is not working in Firefox #2498
Labels
Comments
Hey @tarasstruk! Thanks for reporting this. Somehow the values and labels are getting mixed up in Firefox (see the screenshot). Anyway, I'm transferring this to the Redoc repository as I believe it's not related to the CLI itself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When API Requests schema has a discriminator, it is visible as a switch, which permits to see all possible Request variants.
This works perfectly in Chrome browser, but fails in the Firefox.
To Reproduce
Steps to reproduce the behavior:
apidoc_test.yaml
as the input;redocly
generatesapidoc_test.html
fromapidoc_test.yaml
without errors and without warnings;apidoc_test.html
with the Firefox browser and see the error as it outlined in the screenshot:Expected behaviour
The request Schema should be "switchable" in Firefox browser.
OpenAPI description
The source YAML and the result HTML files can be found here:
openapi.zip
Software Versions
Firefox: 123.0.1 (64-bit)
The text was updated successfully, but these errors were encountered: