From 3fef94dc954b9da96feda2bba4eb57514dd4ca1a Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 7 Jan 2020 22:25:00 +0000 Subject: [PATCH] Removed old swagger routes --- openflexure_microscope/common/flask_labthings/labthing.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openflexure_microscope/common/flask_labthings/labthing.py b/openflexure_microscope/common/flask_labthings/labthing.py index 567b0e89..8e3dc0e0 100644 --- a/openflexure_microscope/common/flask_labthings/labthing.py +++ b/openflexure_microscope/common/flask_labthings/labthing.py @@ -106,12 +106,7 @@ class LabThing(object): def _create_base_routes(self): # Add root representation self.app.add_url_rule(self._complete_url("/", ""), "rootrep", self.rootrep) - # Add thing description - # self.app.add_url_rule(self._complete_url("/td", ""), "td", self.td) - # Add swagger spec - # self.app.add_url_rule( - # self._complete_url("/swagger", ""), "swagger", self.swagger - # ) + # Add thing descriptions self.app.register_blueprint(docs_blueprint, url_prefix=self.url_prefix) # Add extension overview