Skip to content

Commit

Permalink
Make connexion executable
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcaricio committed Sep 15, 2016
1 parent 9b7cb99 commit a2c074d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connexion/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from connexion.cli import main

main()
4 changes: 4 additions & 0 deletions connexion/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ def run(spec_file,
app.run(port=port,
server=wsgi_server,
debug=debug)


if __name__ == '__main__':
main()

0 comments on commit a2c074d

Please sign in to comment.