flask-restx icon indicating copy to clipboard operation
flask-restx copied to clipboard

Flask-restx with Marshmallow schemas

Open DeepakView opened this issue 1 year ago • 2 comments

Ask a question have marshmallow schema I want to use in Flask-restx with automated parameters which I have already defined in marshamallow schemas i want to reuse it without doing again with @api,expect()tion A clear and concise question

Additional context Add any other context or screenshots about the feature request here.

DeepakView avatar Oct 04 '23 06:10 DeepakView

See https://github.com/python-restx/flask-restx/issues/505

Unfortunately, marshmallow is not directly supported and is unlikely to be in the short term.

peter-doggart avatar Oct 06 '23 09:10 peter-doggart

I would personally consider usage and support of pydantic instead of marshmallow to make smoother transition to fastapi for user if asyncio framework is required.

Ryu-CZ avatar Oct 06 '23 11:10 Ryu-CZ