-
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
Typeerror when I expand a field in a rendered OpenAPI 2.0 spec #505
Comments
Minimal reproducible sample? |
Sorry, accidentally hit enter- can I email my spec file, or would you like it attached here? |
It doesn't matter. Whatever is better for you! |
You are using discriminator incorrectly. You don't have any definition inherited from the Check out discriminator docs: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#fixed-fields-13 I will add more details to the error message besides just Typeerror though. |
Thank you! Our spec was auto-generated, so I'll look into this on our end as well. Appreciate the help |
I got this error when I expanded the
triggerOn
parameter in my OpenAPI 2.0 spec. Everything rendered normally, with no errors.From my Chrome console:
ReDoc v 2.0.0-alpha.20
Commit 0a9d09d
I use Redoc from the CDN-
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
The text was updated successfully, but these errors were encountered: