Skip to content

Commit 4445cc7

Browse files
committed
fix: point root landing page to live Swagger UI
The documentation field pointed to /api/v1/health, a dead end for integrators looking for the API contract. Now points to /swagger-ui/index.html, live-verified 200 after the springdoc addition in 366f3a8.
1 parent 366f3a8 commit 4445cc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/sentiment/api/RootController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public ResponseEntity<LandingResponse> root() {
2626
"live",
2727
"1.0.0",
2828
"ML-powered sentiment analysis API with negation handling",
29-
"/api/v1/health"
29+
"/swagger-ui/index.html"
3030
));
3131
}
3232
}

0 commit comments

Comments
 (0)