-
Notifications
You must be signed in to change notification settings - Fork 17
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(specs): simplify filter types #3042
Conversation
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
insane feature gg
@additional_properties.each_pair do |k, v| | ||
transformed_hash[k.to_sym] = v | ||
end unless @additional_properties.nil? | ||
# add extra attribute to transformed_hash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huge fix
🧭 What and Why
Use recursive types to avoid creating in unnecessary oneOf and allow to use the full potential of the filters