MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / spec

Function spec

api/server.py:650–657  ·  view source on GitHub ↗

Get Api documentation in Open Api format

()

Source from the content-addressed store, hash-verified

648
649@app.route("/docs-configuration")
650def spec():
651 """
652 Get Api documentation in Open Api format
653 """
654 docs = swagger(app)
655 docs['info']['version'] = "1.0"
656 docs['info']['title'] = "Python Honeypot Api's"
657 return jsonify(docs)
658
659
660def start_api_server():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected