@@ -99,7 +99,8 @@ public class {{classname}} {
99
99
* @throws ApiException If fail to serialize the request body object
100
100
{ {#responses.0} }
101
101
* @http.response.details
102
- <table summary =" Response Details" border =" 1" >
102
+ <table border =" 1" >
103
+ <caption >Response Details</caption >
103
104
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
104
105
{ {#responses} }
105
106
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -181,12 +182,6 @@ public class {{classname}} {
181
182
182
183
{ {/isQueryParam} }
183
184
{ {/constantParams} }
184
- { {#headerParams} }
185
- if ({ {paramName} } != null) {
186
- localVarHeaderParams.put(" {{baseName}}" , localVarApiClient.parameterToString({{paramName} }));
187
- }
188
-
189
- { {/headerParams} }
190
185
{ {#constantParams} }
191
186
{ {#isHeaderParam} }
192
187
// Set client side default value of Header Param "{ {baseName} }".
@@ -231,6 +226,15 @@ public class {{classname}} {
231
226
if (localVarContentType != null) {
232
227
localVarHeaderParams.put(" Content-Type" , localVarContentType);
233
228
}
229
+ { {^dynamicOperations} }
230
+ { {#headerParams} }
231
+
232
+ if ({ {paramName} } != null) {
233
+ localVarHeaderParams.put(" {{baseName}}" , localVarApiClient.parameterToString({{paramName} }));
234
+ }
235
+
236
+ { {/headerParams} }
237
+ { {/dynamicOperations} }
234
238
235
239
String[] localVarAuthNames = new String[] { {{#withAWSV4Signature} }"AWS4Auth"{ {/withAWSV4Signature} }{ {#authMethods} }{ {#-first} }{ {#withAWSV4Signature} }, { {/withAWSV4Signature} }{ {/-first} }"{ {name} }"{ {^-last} }, { {/-last} }{ {/authMethods} } };
236
240
return localVarApiClient.buildCall(basePath, localVarPath, { {^dynamicOperations} }"{ {httpMethod} }"{ {/dynamicOperations} }{ {#dynamicOperations} }apiOperation.getMethod(){ {/dynamicOperations} }, localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
@@ -288,7 +292,8 @@ public class {{classname}} {
288
292
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
289
293
{ {#responses.0} }
290
294
* @http.response.details
291
- <table summary =" Response Details" border =" 1" >
295
+ <table border =" 1" >
296
+ <caption >Response Details</caption >
292
297
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
293
298
{ {#responses} }
294
299
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -328,7 +333,8 @@ public class {{classname}} {
328
333
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
329
334
{ {#responses.0} }
330
335
* @http.response.details
331
- <table summary =" Response Details" border =" 1" >
336
+ <table border =" 1" >
337
+ <caption >Response Details</caption >
332
338
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
333
339
{ {#responses} }
334
340
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -396,7 +402,8 @@ public class {{classname}} {
396
402
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
397
403
{ {#responses.0} }
398
404
* @http.response.details
399
- <table summary =" Response Details" border =" 1" >
405
+ <table border =" 1" >
406
+ <caption >Response Details</caption >
400
407
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
401
408
{ {#responses} }
402
409
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -456,7 +463,8 @@ public class {{classname}} {
456
463
* @throws ApiException If fail to serialize the request body object
457
464
{ {#responses.0} }
458
465
* @http.response.details
459
- <table summary =" Response Details" border =" 1" >
466
+ <table border =" 1" >
467
+ <caption >Response Details</caption >
460
468
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
461
469
{ {#responses} }
462
470
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -480,7 +488,8 @@ public class {{classname}} {
480
488
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
481
489
{ {#responses.0} }
482
490
* @http.response.details
483
- <table summary =" Response Details" border =" 1" >
491
+ <table border =" 1" >
492
+ <caption >Response Details</caption >
484
493
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
485
494
{ {#responses} }
486
495
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -512,7 +521,8 @@ public class {{classname}} {
512
521
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
513
522
{ {#responses.0} }
514
523
* @http.response.details
515
- <table summary =" Response Details" border =" 1" >
524
+ <table border =" 1" >
525
+ <caption >Response Details</caption >
516
526
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
517
527
{ {#responses} }
518
528
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -544,7 +554,8 @@ public class {{classname}} {
544
554
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
545
555
{ {#responses.0} }
546
556
* @http.response.details
547
- <table summary =" Response Details" border =" 1" >
557
+ <table border =" 1" >
558
+ <caption >Response Details</caption >
548
559
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
549
560
{ {#responses} }
550
561
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
@@ -570,7 +581,8 @@ public class {{classname}} {
570
581
* @return API{ {operationId} }Request
571
582
{ {#responses.0} }
572
583
* @http.response.details
573
- <table summary =" Response Details" border =" 1" >
584
+ <table border =" 1" >
585
+ <caption >Response Details</caption >
574
586
<tr ><td > Status Code </td ><td > Description </td ><td > Response Headers </td ></tr >
575
587
{ {#responses} }
576
588
<tr ><td > { {code} } </td ><td > { {message} } </td ><td > { {#headers} } * { {baseName} } - { {description} } <br > { {/headers} }{ {^headers.0} } - { {/headers.0} } </td ></tr >
0 commit comments