Skip to content

Commit

Permalink
#229 Remove isPublic from OpenAPI output
Browse files Browse the repository at this point in the history
  • Loading branch information
cnizzardini committed Jan 17, 2021
1 parent 690784e commit f395f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib/OpenApi/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function toArray(): array
$vars = get_object_vars($this);

// always unset
foreach (['name','refEntity','isVisible'] as $v) {
foreach (['name','refEntity','isPublic'] as $v) {
unset($vars[$v]);
}

Expand Down

0 comments on commit f395f8e

Please sign in to comment.