Spaces:
Running
Running
ok
Browse files- app/api/server.py +0 -4
app/api/server.py
CHANGED
|
@@ -146,10 +146,6 @@ def create_application() -> FastAPI:
|
|
| 146 |
"swagger": str(request.base_url) + "docs",
|
| 147 |
"redoc": str(request.base_url) + "redoc",
|
| 148 |
},
|
| 149 |
-
"endpoints": [
|
| 150 |
-
{"tag": tag, "routes": sorted(routes, key=lambda r: r["path"])}
|
| 151 |
-
for tag, routes in sorted(routes_by_tag.items())
|
| 152 |
-
],
|
| 153 |
}
|
| 154 |
|
| 155 |
@app.get("/health", include_in_schema=False)
|
|
|
|
| 146 |
"swagger": str(request.base_url) + "docs",
|
| 147 |
"redoc": str(request.base_url) + "redoc",
|
| 148 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
}
|
| 150 |
|
| 151 |
@app.get("/health", include_in_schema=False)
|