From 6eaeee824c75fd231814d99f00facf10d68391d4 Mon Sep 17 00:00:00 2001 From: Carolina Wright Date: Wed, 13 Jul 2022 15:22:38 -0300 Subject: [PATCH 1/2] fix: do not show headers examples at root level --- src/ApiHeadersDocument.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ApiHeadersDocument.js b/src/ApiHeadersDocument.js index bed63b1..7e23b3a 100644 --- a/src/ApiHeadersDocument.js +++ b/src/ApiHeadersDocument.js @@ -107,6 +107,7 @@ export class ApiHeadersDocument extends LitElement { ?narrow="${narrow}" ?graph="${graph}" noExamplesActions + noMainExample >` : html`

Headers are not required by this endpoint

`} From 893a75d08ff125dbb15078173551f791cbbaa6c2 Mon Sep 17 00:00:00 2001 From: Carolina Wright Date: Wed, 13 Jul 2022 15:22:45 -0300 Subject: [PATCH 2/2] build: bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 857b667..697d418 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@api-components/api-headers-document", - "version": "4.2.4", + "version": "4.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 72e3be2..a7afa58 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@api-components/api-headers-document", "description": "Documentation component for API headers based on AMF data model", - "version": "4.2.4", + "version": "4.2.5", "license": "Apache-2.0", "main": "index.js", "module": "index.js",