Skip to content
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

fix: magically resolving objects that are typod as arrays #132

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

erunion
Copy link
Member

@erunion erunion commented Mar 20, 2020

Since launching v6 of the Explorer, we've gotten a number of reports come through Sentry of OAS documents being used rendered that have type: array when they should be type: object. It's no fault of ours, but since we can see that they intended for it to be type: object as properties and not items is present on that schema, we can infer and shape the data into what they intended it to be and avoid any fatal rendering errors.

Resolves README-6R in Sentry.

@erunion erunion added the bug Something isn't working label Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants