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)