From e30bcfb10d743732d0c52b703ed2418d9ad8c501 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Wed, 22 Feb 2023 15:37:48 +0100 Subject: [PATCH] feat: mark `tags` and `parameters` as list in `Operation` --- src/spec/Operation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spec/Operation.php b/src/spec/Operation.php index b0525327..bc938ff0 100644 --- a/src/spec/Operation.php +++ b/src/spec/Operation.php @@ -14,12 +14,12 @@ * * @link https://github.com/OAI/OpenAPI-Specification/blob/3.0.2/versions/3.0.2.md#operationObject * - * @property string[] $tags + * @property list $tags * @property string $summary * @property string $description * @property ExternalDocumentation|null $externalDocs * @property string $operationId - * @property Parameter[]|Reference[] $parameters + * @property list $parameters * @property RequestBody|Reference|null $requestBody * @property Responses|Response[]|null $responses * @property Callback[]|Reference[] $callbacks