docs(api): fix incorrect comment syntax in openapi configuration
This commit is contained in:
parent
fa95d0d117
commit
918f5d3f19
1 changed files with 2 additions and 2 deletions
4
api.py
4
api.py
|
|
@ -193,8 +193,8 @@ def custom_openapi():
|
|||
return app.openapi_schema
|
||||
|
||||
|
||||
# Après app = FastAPI(...), ajouter:
|
||||
app.openapi = custom_openapi
|
||||
""" # Après app = FastAPI(...), ajouter:
|
||||
app.openapi = custom_openapi """
|
||||
|
||||
|
||||
setup_cors(app, mode="open")
|
||||
|
|
|
|||
Loading…
Reference in a new issue