Skip to content

Commit 6535a38

Browse files
[SIGN-15354] fix generating openapi yamls (#537)
1 parent 31d1f32 commit 6535a38

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

openapi-sdk.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7364,7 +7364,6 @@ paths:
73647364
seo:
73657365
title: 'Update Template | REST API | Dropbox Sign for Developers'
73667366
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.'
7367-
x-hideOn: doc
73687367
'/template/update_files/{template_id}':
73697368
post:
73707369
tags:
@@ -9372,7 +9371,6 @@ components:
93729371
type: boolean
93739372
default: false
93749373
deprecated: true
9375-
x-hideOn: doc
93769374
is_eid:
93779375
description: |-
93789376
Send with a value of `true` if you wish to enable
@@ -9474,7 +9472,6 @@ components:
94749472
type: boolean
94759473
default: false
94769474
deprecated: true
9477-
x-hideOn: doc
94789475
is_eid:
94799476
description: |-
94809477
Send with a value of `true` if you wish to enable

openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12571,7 +12571,6 @@ components:
1257112571
- form_view
1257212572
type: object
1257312573
x-internal-class: true
12574-
x-hideOn: sdk
1257512574
TeamResponse:
1257612575
description: 'Contains information about your team and its members'
1257712576
properties:

src/Hello/OpenApi/RawFile.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ private function recurse(array $data, string $surface_id): TranslationResult
170170
unset($data[$k]);
171171
$empty_by_hiding = empty($data);
172172
} else {
173+
unset($v[self::HIDE_ON]);
173174
$result = $this->recurse($v, $surface_id);
174175
if ($result->isAllHidden()) {
175176
unset($data[$k]);

0 commit comments

Comments
 (0)