Skip to content

Commit 9b0ca06

Browse files
authored
[html2] Change to correct variable (#18685)
1 parent 3d15864 commit 9b0ca06

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
File renamed without changes.

modules/openapi-generator/src/main/resources/htmlDocs2/index.mustache

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
</tr>
508508
{{#headers}}
509509
<tr>
510-
<td>{{name}}</td>
510+
<td>{{baseName}}</td>
511511
<td>{{#datatype}}{{dataType}}{{/datatype}}</td>
512512
<td>{{dataFormat}}</td>
513513
<td>{{description}}</td>

samples/documentation/html2/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -9591,19 +9591,19 @@ <h3 id="examples-User-loginUser-title-200"></h3>
95919591
<th>Description</th>
95929592
</tr>
95939593
<tr>
9594-
<td>SetDashCookie</td>
9594+
<td>Set-Cookie</td>
95959595
<td>String</td>
95969596
<td></td>
95979597
<td>Cookie authentication key for use with the &#x60;api_key&#x60; apiKey authentication.</td>
95989598
</tr>
95999599
<tr>
9600-
<td>XDashRateDashLimit</td>
9600+
<td>X-Rate-Limit</td>
96019601
<td>Integer</td>
96029602
<td>int32</td>
96039603
<td>calls per hour allowed by the user</td>
96049604
</tr>
96059605
<tr>
9606-
<td>XDashExpiresDashAfter</td>
9606+
<td>X-Expires-After</td>
96079607
<td>Date</td>
96089608
<td>date-time</td>
96099609
<td>date in UTC when token expires</td>
@@ -11660,7 +11660,7 @@ <h3 id="examples-User-updateUser-title-404"></h3>
1166011660
// Determine if a schema is an array
1166111661
this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
1166211662

11663-
this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
11663+
this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneOf || this.schema.allOf);
1166411664

1166511665
// Determine if a schema is a primitive
1166611666
this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;

0 commit comments

Comments
 (0)