From 72bef1fb68b485b8da793ce9d9eec3683bb1c9f5 Mon Sep 17 00:00:00 2001 From: James Ebentier Date: Mon, 29 Sep 2014 17:53:53 -0700 Subject: [PATCH] fixing the java comments above the api calls to allow for multiline comments in the swagger docs --- src/main/resources/Java/api.mustache | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/Java/api.mustache b/src/main/resources/Java/api.mustache index 835bd6460b6..90c7fe62358 100644 --- a/src/main/resources/Java/api.mustache +++ b/src/main/resources/Java/api.mustache @@ -31,10 +31,13 @@ public class {{classname}} { } {{#operation}} - {{#errorList}} //error info- code: {{code}} reason: "{{reason}}" model: {{#responseModel}}{{responseModel}} + /* + {{#errorList}} + * error info- code: {{code}} reason: "{{reason}}" model: {{#responseModel}}{{responseModel}} {{/responseModel}}{{^responseModel}} {{/responseModel}} {{/errorList}} + */ public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException { Object postBody = {{#bodyParam}}{{bodyParam}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; {{#requiredParamCount}}