diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-11-24 15:07:52 +0100 |
---|---|---|
committer | Daniel Schwarz <bartfastiel@users.noreply.github.com> | 2017-11-29 20:24:11 +0100 |
commit | 2f73756a57ab7ead3d913aab95f9102242ae9aac (patch) | |
tree | 9ec97573f8c28d0f0dfeb388db83d3ad4e883923 /sonar-ws-generator | |
parent | 05feecfee12f21d8ccce10f6d0243fe577431364 (diff) | |
download | sonarqube-2f73756a57ab7ead3d913aab95f9102242ae9aac.tar.gz sonarqube-2f73756a57ab7ead3d913aab95f9102242ae9aac.zip |
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 <simon.brandhof@sonarsource.com>
Diffstat (limited to 'sonar-ws-generator')
-rw-r--r-- | sonar-ws-generator/src/main/resources/request.vm | 6 | ||||
-rw-r--r-- | sonar-ws-generator/src/main/resources/webService.vm | 2 |
2 files changed, 0 insertions, 8 deletions
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 <a href="$helper.apiDocUrl($webService.path.asString)">Further information about this web service online</a> */ @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. |