forked from loafle/openapi-generator-original
Merge pull request #286 from jebentier/master
Java binding comment creation issue fixed
This commit is contained in:
commit
09e7bd9c43
@ -31,10 +31,13 @@ public class {{classname}} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{{#operation}}
|
{{#operation}}
|
||||||
{{#errorList}} //error info- code: {{code}} reason: "{{reason}}" model: {{#responseModel}}{{responseModel}}
|
/*
|
||||||
|
{{#errorList}}
|
||||||
|
* error info- code: {{code}} reason: "{{reason}}" model: {{#responseModel}}{{responseModel}}
|
||||||
{{/responseModel}}{{^responseModel}}<none>
|
{{/responseModel}}{{^responseModel}}<none>
|
||||||
{{/responseModel}}
|
{{/responseModel}}
|
||||||
{{/errorList}}
|
{{/errorList}}
|
||||||
|
*/
|
||||||
public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException {
|
public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) throws ApiException {
|
||||||
Object postBody = {{#bodyParam}}{{bodyParam}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
|
Object postBody = {{#bodyParam}}{{bodyParam}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
|
||||||
{{#requiredParamCount}}
|
{{#requiredParamCount}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user