Spaces:
Paused
Paused
:zap: [Enhance] Hide schemas in API docs
Browse files- apis/chat_api.py +1 -0
apis/chat_api.py
CHANGED
|
@@ -14,6 +14,7 @@ class ChatAPIApp:
|
|
| 14 |
self.app = FastAPI(
|
| 15 |
docs_url="/",
|
| 16 |
title="Bing Chat API",
|
|
|
|
| 17 |
version="1.0",
|
| 18 |
)
|
| 19 |
self.setup_routes()
|
|
|
|
| 14 |
self.app = FastAPI(
|
| 15 |
docs_url="/",
|
| 16 |
title="Bing Chat API",
|
| 17 |
+
swagger_ui_parameters={"defaultModelsExpandDepth": -1},
|
| 18 |
version="1.0",
|
| 19 |
)
|
| 20 |
self.setup_routes()
|