File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/templates/core/mappersmith Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,14 @@ export type {{{clientName}}}Client = {
36
36
* {{{ escapeComment description }}}
37
37
{{ /if }}
38
38
{{ #if parameters }}
39
- * @param {Object} {{ #if hasDefault }} [{{ /if }} params{{ #if hasDefault }} ]{{ /if }} - Request parameters.
39
+ * @param { Object } {{ #if hasDefault }} [{{ /if }} params{{ #if hasDefault }} ]{{ /if }} - Request parameters.
40
40
{{ #each parameters }}
41
- * @param { {{> type }} } {{ #if default }} [{{ /if }} params.{{{ name }}} {{ #if default }} ={{ default }} ] {{ /if }} {{ #if description }} {{{ escapeComment description }}} {{ /if }}
41
+ * @param { {{> type }} } {{ #unless isRequired }} [ {{ else if default}} [{{ /unless }} params.{{{ name }}} {{ #if default }} ={{ default }} {{ /if }} {{ #unless isRequired }} ] {{ else if default}} ] {{ /unless }} {{ #if description }} {{{ escapeComment description }}} {{ /if }}
42
42
{{ /each }}
43
43
{{ /if }}
44
44
{{ #each results }}
45
- * @returns {{{ type }}} {{ #if description }} {{{ escapeComment description }}} {{ /if }}
45
+ * @returns { Promise< Response < {{> type }} >> } {{ #if description }} {{{ escapeComment description }}} {{ /if }}
46
46
{{ /each }}
47
- * @throws ApiError
48
47
*/
49
48
{{ name }} : ({{> parameters2 }} ) => Promise<Response <{{> result }} >>,
50
49
{{ /each }}
You can’t perform that action at this time.
0 commit comments