mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-10 04:19:37 +00:00
https://github.com/zalando/connexion/issues/1 Allow variables in specification using jinja2
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user