diff --git a/Model/flask_app.py b/Model/flask_app.py index 7190600..f96a5cd 100644 --- a/Model/flask_app.py +++ b/Model/flask_app.py @@ -18,7 +18,7 @@ @auth.verify_password def verify_password(username, password): - """ Verify password for API Docs""" + """Verify password for API Docs""" if username in users and check_password_hash(users.get(username), password): return username return None @@ -53,6 +53,7 @@ def verify_password(username, password): @ns.route('/') class HealthCheck(Resource): """Server health check.""" + @api.doc('health_check') def get(self): """Server health check.""" @@ -64,6 +65,7 @@ def get(self): @ns.route('/chat') class ChatBot(Resource): """retrieve and rank api entry point""" + @api.doc('chat_bot') @api.expect(model) def post(self):