Skip to content

Commit

Permalink
fixed missing method parameters and trailling spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dutradda committed Feb 14, 2017
1 parent 7671ea3 commit ce21065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion connexion/apis/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
5 changes: 3 additions & 2 deletions examples/restyresolver/resty.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ce21065

Please sign in to comment.