Skip to content
Snippets Groups Projects
Commit 95188985 authored by David Trattnig's avatar David Trattnig
Browse files

Move API spec to separate folder.

parent fa03234e
No related branches found
No related tags found
No related merge requests found
File moved
......@@ -4,13 +4,11 @@ import connexion
from src import encoder
def main():
app = connexion.App(__name__, specification_dir='./swagger/')
app = connexion.App(__name__, specification_dir='../open-api')
app.app.json_encoder = encoder.JSONEncoder
app.add_api('swagger.yaml', arguments={'title': 'AURA Engine API'}, pythonic_params=True)
app.add_api('engine.yaml', arguments={'title': 'AURA Engine API'}, pythonic_params=True)
app.run(port=8008)
if __name__ == '__main__':
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment