diff --git a/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java b/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java index b9fbc1dc9c76..aaab8b4f58fc 100644 --- a/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java +++ b/geode-web-management/src/integrationTest/java/org/apache/geode/management/internal/rest/DocLinksControllerRestIntegrationTest.java @@ -68,8 +68,8 @@ public void getDocumentationLinks() throws Exception { webContext.perform(get("/")) .andDo(print()) .andExpect(status().isOk()) - .andExpect(jsonPath("$.latest", is(basePath + "/v1/api-docs"))) + .andExpect(jsonPath("$.latest", is(basePath + "/v3/api-docs"))) .andExpect(jsonPath("$.supported", hasSize(1))) - .andExpect(jsonPath("$.supported[0]", is(basePath + "/v1/api-docs"))); + .andExpect(jsonPath("$.supported[0]", is(basePath + "/v3/api-docs"))); } } diff --git a/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java b/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java index 93665e20ee9d..e74d637c483d 100644 --- a/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java +++ b/geode-web-management/src/main/java/org/apache/geode/management/internal/rest/controllers/DocLinksController.java @@ -35,7 +35,7 @@ public ResponseEntity getDocumentationLinks(HttpServletRequest request DocLinks docLinks = new DocLinks(); String baseURL = request.getRequestURL().toString(); List uriList = new ArrayList<>(); - uriList.add(baseURL + "v1/api-docs"); + uriList.add(baseURL + "v3/api-docs"); docLinks.setLatest(uriList.get(0)); docLinks.setSupported(uriList); return new ResponseEntity<>(docLinks, HttpStatus.OK);