diff --git a/controllers/default_controller.py b/controllers/default_controller.py index ea81210..94ad2a8 100644 --- a/controllers/default_controller.py +++ b/controllers/default_controller.py @@ -1,2 +1,6 @@ def ducks_get(): return 'do some magic!' + +def duck_get(): + return 'do some duck magic!' + diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 9672baf..83e8421 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -29,6 +29,7 @@ paths: get: tags: - "default_controller" + operationId: "controllers.default_controller.duck_get" responses: 200: description: "All data regarding the specified duck"