Skip to content
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

Feature request: Support schemas created with marshmallow-oneofschema #141

Open
adamtheturtle opened this issue Mar 8, 2021 · 2 comments

Comments

@adamtheturtle
Copy link

adamtheturtle commented Mar 8, 2021

  • 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.

@adamtheturtle adamtheturtle changed the title Feature request: Support schemas created with https://github.com/marshmallow-code/marshmallow-oneofschema Feature request: Support schemas created with marshmallow-oneofschema Mar 8, 2021
@fuhrysteve
Copy link
Owner

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!

@hnandiwada
Copy link

hnandiwada commented Oct 15, 2024

Bump, I'd love this! I'm not sure if this is still maintained - anyone know if there's a fork or anything that implements this for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants