Get Api documentation in Open Api format
()
| 648 | |
| 649 | @app.route("/docs-configuration") |
| 650 | def 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 | |
| 660 | def start_api_server(): |
nothing calls this directly
no outgoing calls
no test coverage detected