From 2f73756a57ab7ead3d913aab95f9102242ae9aac Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 24 Nov 2017 15:07:52 +0100 Subject: Remove documentation from generated WS client It allows to not have to commit changes each time a description is changed in sonar-server Signed-off-by: Simon Brandhof --- sonar-ws-generator/src/main/resources/request.vm | 6 ------ sonar-ws-generator/src/main/resources/webService.vm | 2 -- 2 files changed, 8 deletions(-) (limited to 'sonar-ws-generator') diff --git a/sonar-ws-generator/src/main/resources/request.vm b/sonar-ws-generator/src/main/resources/request.vm index bd84997e881..29456586a49 100644 --- a/sonar-ws-generator/src/main/resources/request.vm +++ b/sonar-ws-generator/src/main/resources/request.vm @@ -23,8 +23,6 @@ import java.util.List; import javax.annotation.Generated; /** - * $action.description.asString - * #if ($action.internal) * This is part of the internal API. #end @@ -51,10 +49,6 @@ public class $helper.requestType($webService.path.asString, $action.key.asString #foreach($param in $action.params) /** -#if ($param.description.asString) - * $param.description.asString - * -#end #if ($param.required.asBoolean) * This is a mandatory parameter. #end diff --git a/sonar-ws-generator/src/main/resources/webService.vm b/sonar-ws-generator/src/main/resources/webService.vm index be2f3bd3d40..d095234a798 100644 --- a/sonar-ws-generator/src/main/resources/webService.vm +++ b/sonar-ws-generator/src/main/resources/webService.vm @@ -33,7 +33,6 @@ $helper.responseTypeImport($webService.path.asString, $action.key.asString) #end /** - * $webService.description.asString * @see Further information about this web service online */ @Generated("sonar-ws-generator") @@ -45,7 +44,6 @@ public class $helper.className($webService.path.asString) extends BaseService { #foreach($action in $webService.actions) /** - * $action.description.asString * #if ($action.internal) * This is part of the internal API. -- cgit v1.2.3