Inheritance polymorphism#560
Inheritance polymorphism#560lfiedler wants to merge 2 commits intomarshmallow-code:devfrom lfiedler:inheritance_polymorphism
Conversation
|
@stefanv I believe it does not address #391 but I do not know for sure. The changes I proposed are independent and outside of the marshmallow extension. They are supposed to work when directly using above mentioned keywords in To be more precise these changes only act on things that are passed to Having said that, I don't know what the marhsmallow plugin does. Also I have not tested what happens when using it in conjunction with the marshmallow schema plugin and a marshmallow schema that uses polymorphism. |
This is a draft adressing issue #557. It is based on the pr #554.
I copied the changes proposed there and adjusted them to the needs in #557. In particular, when cleaning
operationsit will now check forkeywords
allOf.anyOf,oneOfandnotat response or request contents.Depending on openapi version not all keywords are checked. The places at which are checked also depend on the version.