-
Notifications
You must be signed in to change notification settings - Fork 0
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
Flatten oneOf/allOf property schemas #166
Conversation
andrii-balitskyi
commented
Mar 4, 2025
•
edited
Loading
edited
- flattenAllOfSchema and flattenOneOfSchema should gather property enum values from all subschemas
- Test flattening functions update
- Flatten oneOf/allOf property schemas
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
} else { | ||
t.fail('Expected "type" property to exist') | ||
} | ||
} else { |
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.
This was a bit hard for me to follow. Should be simpler if you do all the nil checks up front.
if (foo == null) {
t.fail('foo was null')
return
}
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.