OpenAPI Gen: fix requirement handling
This commit is contained in:
parent
6cce3332fb
commit
f1cc602f77
|
@ -191,7 +191,6 @@ class OpenAPIGenerator
|
|||
[
|
||||
'description' => $description,
|
||||
'examples' => [$example],
|
||||
'required' => !$info['optional'],
|
||||
],
|
||||
$this->typeToSchema($info['type'])
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue