updated specs

This commit is contained in:
ArnabChatterjee20k
2025-09-05 20:04:56 +05:30
parent ca87bd2237
commit 79fcfff4f4
10 changed files with 57 additions and 217 deletions
@@ -675,7 +675,11 @@ class OpenAPI3 extends Format
$type = 'object';
$output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true;
break;
case 'array':
$type = 'array';
break;
case 'integer':
$type = 'integer';
$format = 'int32';
@@ -683,6 +683,10 @@ class Swagger2 extends Format
$type = 'object';
break;
case 'array':
$type = 'array';
break;
case 'integer':
$type = 'integer';
$format = 'int32';