From ce21065e36e3ad6e2ef9446b5483fbe58835abf6 Mon Sep 17 00:00:00 2001 From: Diogo Dutra Date: Tue, 14 Feb 2017 19:26:29 -0200 Subject: [PATCH] fixed missing method parameters and trailling spaces --- connexion/apis/abstract.py | 2 +- examples/restyresolver/resty.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/connexion/apis/abstract.py b/connexion/apis/abstract.py index cfb457ee5..5d121176d 100644 --- a/connexion/apis/abstract.py +++ b/connexion/apis/abstract.py @@ -160,7 +160,7 @@ def add_swagger_ui(self): """""" @abc.abstractmethod - def add_auth_on_not_found(self): + def add_auth_on_not_found(self, security, security_definitions): """""" def add_operation(self, method, path, swagger_operation, path_parameters): diff --git a/examples/restyresolver/resty.py b/examples/restyresolver/resty.py index 14a082de5..ae0237b05 100755 --- a/examples/restyresolver/resty.py +++ b/examples/restyresolver/resty.py @@ -8,6 +8,7 @@ if __name__ == '__main__': app = connexion.FlaskApp(__name__) - app.add_api('resty-api.yaml', - arguments={'title': 'RestyResolver Example'}, resolver=RestyResolver('api')) + app.add_api('resty-api.yaml', + arguments={'title': 'RestyResolver Example'}, + resolver=RestyResolver('api')) app.run(port=9090)