From c2b2aaf368259cfa75947ca80a91301967e9e439 Mon Sep 17 00:00:00 2001 From: Andrzej Danilowski Date: Thu, 7 May 2026 15:03:52 +0200 Subject: [PATCH] [SIGN-15354] fix generating openapi yamls --- openapi-sdk.yaml | 3 --- openapi.yaml | 1 - src/Hello/OpenApi/RawFile.php | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index b614c06c4..d1055081c 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -7364,7 +7364,6 @@ paths: seo: title: 'Update Template | REST API | Dropbox Sign for Developers' description: 'The Dropbox Sign API easily allows you to build custom integrations. To find out how to update properties of an existing template, click here.' - x-hideOn: doc '/template/update_files/{template_id}': post: tags: @@ -9372,7 +9371,6 @@ components: type: boolean default: false deprecated: true - x-hideOn: doc is_eid: description: |- Send with a value of `true` if you wish to enable @@ -9474,7 +9472,6 @@ components: type: boolean default: false deprecated: true - x-hideOn: doc is_eid: description: |- Send with a value of `true` if you wish to enable diff --git a/openapi.yaml b/openapi.yaml index ffaf51c43..eadce2f32 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -12571,7 +12571,6 @@ components: - form_view type: object x-internal-class: true - x-hideOn: sdk TeamResponse: description: 'Contains information about your team and its members' properties: diff --git a/src/Hello/OpenApi/RawFile.php b/src/Hello/OpenApi/RawFile.php index 7f77401e2..fcfa42cc3 100644 --- a/src/Hello/OpenApi/RawFile.php +++ b/src/Hello/OpenApi/RawFile.php @@ -170,6 +170,7 @@ private function recurse(array $data, string $surface_id): TranslationResult unset($data[$k]); $empty_by_hiding = empty($data); } else { + unset($v[self::HIDE_ON]); $result = $this->recurse($v, $surface_id); if ($result->isAllHidden()) { unset($data[$k]);