https://github.com/zalando/connexion/issues/1 Allow variables in specification using jinja2

This commit is contained in:
João Santos
2015-06-05 16:03:39 +02:00
parent a62b75dbf2
commit 0a6dcfddf0
4 changed files with 27 additions and 8 deletions

View File

@@ -8,5 +8,5 @@ def post_greeting(name: str) -> str:
if __name__ == '__main__':
app = connexion.App(__name__, 9090, specification_dir='swagger/')
app.add_api('helloworld-api.yaml')
app.add_api('helloworld-api.yaml', arguments={'title': 'Hello World Example'})
app.run()