Health check endpoint for Docker and monitoring
()
| 539 | |
| 540 | @app.get("/health") |
| 541 | async def health_check(): |
| 542 | """Health check endpoint for Docker and monitoring""" |
| 543 | return { |
| 544 | "status": "healthy", |
| 545 | "timestamp": datetime.now().isoformat(), |
| 546 | "service": "deepwiki-api" |
| 547 | } |
| 548 | |
| 549 | @app.get("/") |
| 550 | async def root(): |
nothing calls this directly
no outgoing calls
no test coverage detected