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

Generate Marshmallow classes from Open API #626

Closed
ghost opened this issue Jan 15, 2021 · 1 comment
Closed

Generate Marshmallow classes from Open API #626

ghost opened this issue Jan 15, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 15, 2021

Hi there,

I'm not sure if this has been asked before, but I was wondering if you had previously considered generating Marshmallow Schema classes from OpenAPI spec - basically the reverse operation for your to_json and to_yaml methods and leveraging something like the Marshmallow from_dict method.

I'd really appreciate your thoughts on the pros and cons and perhaps some code where you've tried to do something similar.

Thanks for all the good work!!

@lafrech
Copy link
Member

lafrech commented Jan 16, 2021

I think this was asked before. Can't find the source.

This would be interesting but as of today we think it would be out of scope.

Of course, if someone manages to do that, we'll be very interested, so please keep us posted.

@lafrech lafrech closed this as completed Jun 4, 2021
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

1 participant