From 54995164c31b8927a1c149c5285074a5ae35f1e5 Mon Sep 17 00:00:00 2001 From: Aniokrait Date: Thu, 16 May 2024 21:05:34 +0900 Subject: [PATCH] [html2] Change to correct variable --- bin/configs/{unmaintained => }/html2.yaml | 0 .../src/main/resources/htmlDocs2/index.mustache | 2 +- samples/documentation/html2/index.html | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) rename bin/configs/{unmaintained => }/html2.yaml (100%) diff --git a/bin/configs/unmaintained/html2.yaml b/bin/configs/html2.yaml similarity index 100% rename from bin/configs/unmaintained/html2.yaml rename to bin/configs/html2.yaml diff --git a/modules/openapi-generator/src/main/resources/htmlDocs2/index.mustache b/modules/openapi-generator/src/main/resources/htmlDocs2/index.mustache index 04dafb2803bd..ec5d8c742f69 100644 --- a/modules/openapi-generator/src/main/resources/htmlDocs2/index.mustache +++ b/modules/openapi-generator/src/main/resources/htmlDocs2/index.mustache @@ -507,7 +507,7 @@ {{#headers}} - {{name}} + {{baseName}} {{#datatype}}{{dataType}}{{/datatype}} {{dataFormat}} {{description}} diff --git a/samples/documentation/html2/index.html b/samples/documentation/html2/index.html index a67f3492000b..1f7b7b1cf7ed 100644 --- a/samples/documentation/html2/index.html +++ b/samples/documentation/html2/index.html @@ -9591,19 +9591,19 @@

Description - SetDashCookie + Set-Cookie String Cookie authentication key for use with the `api_key` apiKey authentication. - XDashRateDashLimit + X-Rate-Limit Integer int32 calls per hour allowed by the user - XDashExpiresDashAfter + X-Expires-After Date date-time date in UTC when token expires @@ -11660,7 +11660,7 @@

// Determine if a schema is an array this.isArray = !this.isAny && this.schema && this.schema.type === 'array'; - this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf); + this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneOf || this.schema.allOf); // Determine if a schema is a primitive this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;