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

[Question] Would this work with flask-restx? #10

Open
conradogarciaberrotaran opened this issue Jan 27, 2021 · 1 comment
Open

[Question] Would this work with flask-restx? #10

conradogarciaberrotaran opened this issue Jan 27, 2021 · 1 comment

Comments

@conradogarciaberrotaran

I want to add pydantic data validation to my flask-restx API and have the swagger documentation update accordingly.
Will I be able to do it with this library?

Thank you!

@cgearing
Copy link
Contributor

cgearing commented Feb 1, 2021

So funnily enough, we are using Flask-RestX in the same Python application, however we haven't found a way to run them on the same resources.

I'm not sure if it would be possible to mix these libraries in the way you suggest - FlaskPydanticSpec is our way of moving away from using FlaskRestX completely. It's a great framework, but we wanted something a little closer to the Flask way of doing things.

Let me know if you manage to get them to play nicely alongside each other - it would certainly be interesting to me!

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

2 participants