Skip to content

Commit 114cb5b

Browse files
committed
misc: remove /metrics from OpenAPI docs
1 parent 07c2695 commit 114cb5b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

auth_service/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ If you want to modify the password before the first run, you must change it in t
116116

117117
Once running, visit:
118118

119-
- **Swagger UI**: <http://localhost:3002/docs>
119+
- **Swagger UI**: <http://localhost:3002/docs/auth>
120120

121121
## Database Schema
122122

ingest_service/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
)
3737

3838

39-
Instrumentator().instrument(app).expose(app)
39+
Instrumentator().instrument(app).expose(app, include_in_schema=False)
4040

4141
# Health check constants
4242
HEALTH_CHECK_INTERVAL_S = 300 # 5 minutes

rest_api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def lifespan(app):
6767
allow_headers=["*"],
6868
)
6969

70-
Instrumentator().instrument(app).expose(app)
70+
Instrumentator().instrument(app).expose(app, include_in_schema=False)
7171

7272

7373
@app.get(

0 commit comments

Comments
 (0)