Fix typo in api schema generation example

This commit is contained in:
Ewoud Kohl van Wijngaarden 2019-05-17 15:44:32 +00:00 committed by GitHub
parent 556a8a0a18
commit c121cb2c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ if __name__ == '__main__':
if sys.argv[-1] == "run":
uvicorn.run(app, host='0.0.0.0', port=8000)
elif sys.arvg[-1] == "schema":
elif sys.argv[-1] == "schema":
schema = schemas.get_schema(routes=app.routes)
print(yaml.dump(schema, default_flow_style=False))
```