You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change adds more detailed comments, and example usage to make
things easier for developers.
The documentation coverage is now closer to that of line-bot-sdk-ruby.
(some comments in pebble template are imported)
The change seems big, but it's ok to review only
`generator/src/main/resources/line-bot-sdk-nodejs-generator/*.pebble` (3
files)
public async {{op.nickname}}({% for param in op.allParams %}{{param.paramName}}{% if not param.required %}?{% endif %}: {{param.dataType}}, {% endfor %}) : Promise<{% if op.returnType %}{{ op.returnType }}{% else %}Types.MessageAPIResponseBase{% endif %}> {
74
109
return (await this.{{op.nickname}}WithHttpInfo({% for param in op.allParams %}{{param.paramName}}, {% endfor %})).body;
75
110
}
76
111
77
112
/**
78
-
* {{op.notes}}.
79
-
* This method includes HttpInfo object to return additional information.
* @returns A promise resolving to the response body together with the underlying `httpResponse`.
86
123
{% if op.isDeprecated -%}
87
124
* @deprecated
88
125
{% endif -%}
89
126
{% if op.operationId == "issueStatelessChannelToken" -%}
90
127
* @deprecated Use {@link issueStatelessChannelTokenByJWTAssertionWithHttpInfo} or {@link issueStatelessChannelTokenByClientSecretWithHttpInfo} instead.
public async {{op.nickname}}WithHttpInfo({% for param in op.allParams %}{{param.paramName}}{% if not param.required %}?{% endif %}: {{param.dataType}}, {% endfor %}) : Promise<Types.ApiResponseType<{% if op.returnType %}{{ op.returnType }}{% else %}Types.MessageAPIResponseBase{% endif %}>> {
0 commit comments