mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
fix: format for int32
This commit is contained in:
parent
68ffa5258c
commit
b06b33016c
1 changed files with 1 additions and 1 deletions
|
|
@ -616,7 +616,7 @@ class Swagger2 extends Format
|
|||
$node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name);
|
||||
}
|
||||
if ($validator->getType() === 'integer') {
|
||||
$node['schema']['format'] = 'int32';
|
||||
$node['items']['format'] = 'int32';
|
||||
}
|
||||
} else {
|
||||
$node['type'] = $validator->getType();
|
||||
|
|
|
|||
Loading…
Reference in a new issue