From 7dc17bf20032c8f984560ec2a38e0ef97f470338 Mon Sep 17 00:00:00 2001 From: Gayan Weerakutti Date: Sun, 22 Oct 2017 14:43:53 +0530 Subject: [PATCH] RESTWS-560 Set extrenalDocs to permanent link (#309) Use the permanent link to the wiki page: https://wiki.openmrs.org/x/xoAaAQ As the title-based URL could break if the page is moved or renamed in the future. Sub-PR for: https://issues.openmrs.org/browse/RESTWS-560 --- .../webservices/docs/swagger/SwaggerSpecificationCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java b/omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java index ca47a5532..cfccc4fba 100644 --- a/omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java +++ b/omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java @@ -224,7 +224,7 @@ private void initSwagger() { .produces("application/json") .externalDocs(new ExternalDocs() .description("Find more info on REST Module Wiki") - .url("https://wiki.openmrs.org/display/docs/REST+Module")); + .url("https://wiki.openmrs.org/x/xoAaAQ")); } private List getModuleVersions() {