Skip to content

Generate APIdocs in Flask simply by following the given code syntax which offcourse brings nice look to your app. It also checks for any possible secret that you may have forgotten to remove.

License

Notifications You must be signed in to change notification settings

1UC1F3R616/Flask-Docs-and-Secrets-Check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-Docs-and-Secrets-Check

Generate APIdocs in Flask simply by following the given code syntax which offcourse brings nice look to your app. It also checks for any possible secret that you may have forgotten to remove.

    _        ____                    ____       U  ___ u    ____    ____     
U  /"\  u  U|  _"\ u      ___       |  _"\       \/"_ \/ U /"___|  / __"| u  
 \/ _ \/   \| |_) |/     |_"_|     /| | | |      | | | | \| | u   <\___ \/   
 / ___ \    |  __/        | |      U| |_| |\ .-,_| |_| |  | |/__   u___) |   
/_/   \_\   |_|         U/| |\u     |____/ u  \_)-\___/    \____|  |____/>>  
 \\    >>   ||>>_    .-,_|___|_,-.   |||_          \\     _// \\    )(  (__) 
(__)  (__) (__)__)    \_)-' '-(_/   (__)_)        (__)   (__)(__)  (__)      



Code Pattern

payLoad = {
        }
        return make_response(jsonify(payLoad), 200)

Working

  • write #.n# where n is number of payLoads in your route, at top of @app.route('/')
#.3.
# Your Comments maybe
@app.route("/login/google/callback")
@cross_origin(supports_credentials=True)
def callback():
  // code here
  // 3 payloads shall be present

Usage

python APIdocs.py <directory/filename>

forthebadge made-with-python ForTheBadge built-with-swag

LinkedIn Instagram

About

Generate APIdocs in Flask simply by following the given code syntax which offcourse brings nice look to your app. It also checks for any possible secret that you may have forgotten to remove.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages