AppThreat / atom

Atom is a novel intermediate representation for applications and a standalone tool that is powered by chen.
https://appthreat.com
Apache License 2.0
34 stars 2 forks source link

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

Open Sohit1212 opened 2 months ago

Sohit1212 commented 2 months ago

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 commented 2 months ago

@Sohit1212 Could you share some sample repo?

Sohit1212 commented 2 months ago

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

https://github.com/chonhan/flask_restapi_clean_architecture

prabhu commented 2 months ago

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.