mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Map enum
This commit is contained in:
@@ -215,6 +215,8 @@ abstract class Format
|
||||
switch ($param) {
|
||||
case 'status':
|
||||
return 'MessageStatus';
|
||||
case 'priority':
|
||||
return 'MessagePriority';
|
||||
}
|
||||
break;
|
||||
case 'createSmtpProvider':
|
||||
|
||||
@@ -34,7 +34,6 @@ class Swagger2 extends Format
|
||||
foreach ($this->models as $m) {
|
||||
if ($m->getType() === $ruleType) {
|
||||
$this->getNestedModels($m, $usedModels);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46,7 +45,6 @@ class Swagger2 extends Format
|
||||
foreach ($this->models as $m) {
|
||||
if ($m->getType() === $rule['type']) {
|
||||
$this->getNestedModels($m, $usedModels);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user