diff --git a/src/spec/Link.php b/src/spec/Link.php index 5a89f2d..9d21c2a 100644 --- a/src/spec/Link.php +++ b/src/spec/Link.php @@ -19,7 +19,7 @@ * @property array $parameters * @property mixed $requestBody * @property string $description - * @property Server $server + * @property Server|null $server * */ class Link extends SpecBaseObject diff --git a/src/spec/Operation.php b/src/spec/Operation.php index 6ef76a0..1828a30 100644 --- a/src/spec/Operation.php +++ b/src/spec/Operation.php @@ -20,8 +20,8 @@ * @property ExternalDocumentation|null $externalDocs * @property string $operationId * @property Parameter[]|Reference[] $parameters - * @property RequestBody|Reference $requestBody - * @property Responses $responses + * @property RequestBody|Reference|null $requestBody + * @property Responses|null $responses * @property Callback[]|Reference[] $callbacks * @property bool $deprecated * @property SecurityRequirement[] $security