From 3e20622651395bce612f5271e5c2789ed25971a5 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Thu, 18 Jan 2024 08:21:19 -0500 Subject: [PATCH] Fix typo in "connection" --- swagger_server/swagger/swagger.yaml | 2 +- swagger_server/test/test_connection_controller.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swagger_server/swagger/swagger.yaml b/swagger_server/swagger/swagger.yaml index d020f67e..581a27b3 100644 --- a/swagger_server/swagger/swagger.yaml +++ b/swagger_server/swagger/swagger.yaml @@ -134,7 +134,7 @@ paths: "404": description: Link not found x-openapi-router-controller: swagger_server.controllers.link_controller - /conection: + /connection: post: tags: - connection diff --git a/swagger_server/test/test_connection_controller.py b/swagger_server/test/test_connection_controller.py index a538ae73..8606a2a4 100644 --- a/swagger_server/test/test_connection_controller.py +++ b/swagger_server/test/test_connection_controller.py @@ -48,7 +48,7 @@ def test_place_connection(self): """ body = Connection() response = self.client.open( - "/SDX-Controller/1.0.0/conection", + "/SDX-Controller/1.0.0/connection", method="POST", data=json.dumps(body), content_type="application/json",