Feature request: Support schemas created with marshmallow-oneofschema
adamtheturtle opened this issue · 1 comments
adamtheturtle commented
- Create a Marshmallow schema using
marshmallow-oneofschema
. - Dump a JSON Schema for this new schema.
- Ideally the whole nested schema would show, and the "type" options would be shown.
Changes needed for this may be similar to code in https://github.com/timakro/apispec-oneofschema.
fuhrysteve commented
This sounds like a great idea! We use oneofschema for some fancy polymorphic stuff and it works great. I've not looked into how that might work with this library, but PRs are very welcome!