We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc3840c commit 0e69ab1Copy full SHA for 0e69ab1
src/Spec/Swagger2.php
@@ -251,6 +251,7 @@ public function getMethods($service)
251
$param['required'] = (in_array($key, $bodyRequired));
252
$param['example'] = $value['x-example'] ?? null;
253
$param['isUploadID'] = $value['x-upload-id'] ?? false;
254
+ $param['nullable'] = $value['x-nullable'] ?? false;
255
$param['array'] = [
256
'type' => $value['items']['type'] ?? '',
257
];
0 commit comments