From 4f5eb1a449598e517c4bc304058544b646508505 Mon Sep 17 00:00:00 2001 From: Gayan Weerakutti Date: Tue, 29 Aug 2017 20:42:02 +0530 Subject: [PATCH] Update Swagger description and contact info (#296) --- .../webservices/docs/swagger/SwaggerSpecificationCreator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 362a4d85f..2fa3676e7 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 @@ -173,8 +173,8 @@ private void initSwagger() { final Info info = new Info() .version(OpenmrsConstants.OPENMRS_VERSION_SHORT) .title("OpenMRS API Docs") - .description("OpenMRS RESTful API specification") - .contact(new Contact().url("http://openmrs.org")) + .description("OpenMRS RESTful API documentation generated by Swagger") + .contact(new Contact().name("OpenMRS").url("http://openmrs.org")) .license(new License().name("MPL-2.0 w/ HD").url("http://openmrs.org/license")); this.swagger