mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
dependency updates
This commit is contained in:
@@ -264,6 +264,9 @@ class Swagger2 extends Format
|
||||
break;
|
||||
case 'Utopia\Database\Validator\UID':
|
||||
case 'Appwrite\Utopia\Database\Validator\CustomId':
|
||||
if($route->getLabel('sdk.methodType', '') === 'upload') {
|
||||
$node['x-upload-id'] = true;
|
||||
}
|
||||
$node['type'] = $validator->getType();
|
||||
$node['x-example'] = '['.\strtoupper(Template::fromCamelCaseToSnake($node['name'])).']';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user