Update src/Appwrite/Specification/Format/OpenAPI3.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
This commit is contained in:
parent
fcb0168eb1
commit
724608ce29
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ class OpenAPI3 extends Format
|
||||||
foreach ($model->getRules() as $rule) {
|
foreach ($model->getRules() as $rule) {
|
||||||
if (!in_array($rule['type'], ['string', 'integer', 'boolean', 'json', 'float'])) {
|
if (!in_array($rule['type'], ['string', 'integer', 'boolean', 'json', 'float'])) {
|
||||||
if(\is_array($rule['type'])) {
|
if(\is_array($rule['type'])) {
|
||||||
foreach ($rule['type'] as $key => $value) {
|
foreach ($rule['type'] as $value) {
|
||||||
$usedModels[] = $value;
|
$usedModels[] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue