Skip to content

Commit 09e7bd9

Browse files
committed
Merge pull request #286 from jebentier/master
Java binding comment creation issue fixed
2 parents 0ece4a0 + 72bef1f commit 09e7bd9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/resources/Java/api.mustache

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ public class {{classname}} {
3131
}
3232

3333
{{#operation}}
34-
{{#errorList}} //error info- code: {{code}} reason: "{{reason}}" model: {{#responseModel}}{{responseModel}}
34+
/*
35+
{{#errorList}}
36+
* error info- code: {{code}} reason: "{{reason}}" model: {{#responseModel}}{{responseModel}}
3537
{{/responseModel}}{{^responseModel}}<none>
3638
{{/responseModel}}
3739
{{/errorList}}
40+
*/
3841
public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException {
3942
Object postBody = {{#bodyParam}}{{bodyParam}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
4043
{{#requiredParamCount}}

0 commit comments

Comments
 (0)