-
Notifications
You must be signed in to change notification settings - Fork 85
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
warning: invalid allOf variant warning if allOf includes oneOf #2827
Comments
Ah interesting, it looks like our mergeAllOf handler doesn't handle this case. This might be a little trickier to implement, given each oneOf child would result in a top level polymorphic item, and you could have multiple oneOf children which would result in all combinations of polymorphic options. |
We have 2 or 3 APIs that use the above approach. What would be the impact of it at this moment? |
I think right now it'll exclude values in |
For now I'm investigating rewriting some of the schemas using
|
I think I just came across the same ...
|
Hi,
We're seeing a parse warning when trying to lint the following API spec:
Example: -- invalid allOf variant
The text was updated successfully, but these errors were encountered: