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
52 stars 2 forks source link

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

Open sohitgore opened 7 months ago

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

@Sohit1212 Could you share some sample repo?

sohitgore commented 7 months ago

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

https://github.com/chonhan/flask_restapi_clean_architecture

prabhu commented 7 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.