manchenkoff / openapi3-parser

OpenAPI 3 parser to use a specification inside of the code in your projects
https://pypi.org/project/openapi3-parser/
MIT License
65 stars 34 forks source link

Add anyOf support #5 #49

Closed yoyossef closed 1 year ago

yoyossef commented 1 year ago

oneOf and anyOf seem similar to me, I've added this support as I needed it and that its implementation isn't much different from oneOf from my understanding.

manchenkoff commented 1 year ago

Hey @yoyossef, thanks for your contribution! Yes, you're right and they are quite the same from a parsing perspective, however, it should be covered in tests as well, so it would be nice to add it if you have time

yoyossef commented 1 year ago

I don't know why all commit were named that way, I don't usually use github and make PRs, anyway I believe the build should pass now