@@ -43,7 +43,7 @@ export interface {{#prefixParameterInterfaces}}{{classname}}{{/prefixParameterIn
4343export interface { {classname} }Interface {
4444{{#operation} }
4545 /**
46- * Creates request configuration for { {nickname} } without sending the request
46+ * Creates request options for { {nickname} } without sending the request
4747 { {#allParams} }
4848 * @param { {=<% %>= } }{ <% &dataType%> } <%={ { } }=%> { {^required} }[{ {/required} }{ {paramName} }{ {^required} }]{ {/required} } { {description} }
4949 { {/allParams} }
@@ -54,7 +54,7 @@ export interface {{classname}}Interface {
5454 * @throws {RequiredError}
5555 * @memberof {{classname}}Interface
5656 */
57- {{nickname}}RequestConfig ({{#allParams.0}}requestParameters: {{#prefixParameterInterfaces}}{{classname}}{{/prefixParameterInterfaces}}{{operationIdCamelCase}}Request, {{/allParams.0}}initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.RequestOpts>;
57+ {{nickname}}RequestOpts ({{#allParams.0}}requestParameters: {{#prefixParameterInterfaces}}{{classname}}{{/prefixParameterInterfaces}}{{operationIdCamelCase}}Request, {{/allParams.0}}initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.RequestOpts>;
5858
5959 /**
6060 * {{¬es}}
@@ -109,12 +109,12 @@ export class {{classname}} extends runtime.BaseAPI {
109109
110110 { {#operation} }
111111 /**
112- * Creates request configuration for { {nickname} } without sending the request
112+ * Creates request options for { {nickname} } without sending the request
113113 { {#isDeprecated} }
114114 * @deprecated
115115 { {/isDeprecated} }
116116 */
117- async { {nickname} }RequestConfig ({ {#allParams.0} }requestParameters: { {#prefixParameterInterfaces} }{ {classname} }{ {/prefixParameterInterfaces} }{ {operationIdCamelCase} }Request, { {/allParams.0} }initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime .RequestOpts > {
117+ async { {nickname} }RequestOpts ({ {#allParams.0} }requestParameters: { {#prefixParameterInterfaces} }{ {classname} }{ {/prefixParameterInterfaces} }{ {operationIdCamelCase} }Request, { {/allParams.0} }initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime .RequestOpts > {
118118 {{#allParams} }
119119 { {#required} }
120120 if (requestParameters['{ {paramName} }'] == null) {
@@ -311,7 +311,7 @@ export class {{classname}} extends runtime.BaseAPI {
311311 { {/isDateTimeType} }
312312 { {/pathParams} }
313313
314- const requestOpts: runtime.RequestOpts = {
314+ return {
315315 path: urlPath,
316316 method: ' {{httpMethod}}' ,
317317 headers: headerParameters,
@@ -345,7 +345,6 @@ export class {{classname}} extends runtime.BaseAPI {
345345 body: formParams,
346346 { {/hasFormParams} }
347347 };
348- return requestOpts;
349348 }
350349
351350 /**
0 commit comments