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 broken rendering in case of Array with +oneOf+ #348

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsrivishnu
Copy link
Contributor

If the schemas provided inside oneOf of array items is not a ref,
the rendering fails because it tries .upcase on an Integer.

If the schemas provided inside `oneOf` of array items is not a `ref`,
the rendering fails because it tries `.upcase` on an `Integer`.
@tsrivishnu
Copy link
Contributor Author

@geemus I didn't add any failing schema examples because it's obvious that .to_s can't be used in an Integer. Please let me know if you like to see examples. Otherwise, would appreciate it if you could merge this and release a minor/patch version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant