mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
feat: invert quotes
This commit is contained in:
1 parent
bfcb0b57de
commit
4fc6f73ce6
2 files changed
+2
-2
No files matched your search
@@ -534,7 +534,7 @@ class OpenAPI3 extends Format
|
||||
$node['schema']['items'] = [
|
||||
'type' => 'string',
|
||||
];
|
||||
$node['schema']['x-example'] = '["' . str_ireplace("\"", "'", Permission::read(Role::any())) . '"]';
|
||||
$node['schema']['x-example'] = "['" . str_ireplace("'", "\"", Permission::read(Role::any())) . "']";
|
||||
break;
|
||||
case 'Utopia\Database\Validator\Roles':
|
||||
$node['schema']['type'] = $validator->getType();
|
||||
|
||||
@@ -524,7 +524,7 @@ class Swagger2 extends Format
|
||||
$node['items'] = [
|
||||
'type' => 'string',
|
||||
];
|
||||
$node['x-example'] = '["' . str_ireplace("\"", "'", Permission::read(Role::any())) . '"]';
|
||||
$node['x-example'] = "['" . str_ireplace("'", "\"", Permission::read(Role::any())) . "']";
|
||||
break;
|
||||
case 'Utopia\Database\Validator\Roles':
|
||||
$node['type'] = $validator->getType();
|
||||
|
||||
Reference in new issue
Block a user