Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OpenApi spec generation for Python app using flask-restx and flask-restplus #134

Open
sohitgore opened this issue Apr 19, 2024 · 3 comments

Comments

@sohitgore
Copy link

Describe the bug

The openAPI spec is empty when trying to generate for a python web application using flask-restx and flask-restplus

How to reproduce

Create a sample web-application using flask-restx or flask-restplus
Run atom and atom-tools
The paths in the resultant api-spec is empty.

@prabhu
Copy link
Contributor

prabhu commented Apr 19, 2024

@Sohit1212 Could you share some sample repo?

@sohitgore
Copy link
Author

@prabhu here is an example repo implementing REST using flask-restplus

https://github.com/chonhan/flask_restapi_clean_architecture

@prabhu
Copy link
Contributor

prabhu commented Apr 28, 2024

This is going to take some time. Python support in general is looking very weak, so is going to take some effort to get the type and purl inference working well.

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

No branches or pull requests

2 participants