From fc99b8b80df4e16b9f9c996b7cb7931e6b821237 Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Fri, 9 Apr 2021 15:18:55 +0200 Subject: [PATCH] Restore `Model\Parameter::canAllowEmptyValue()` --- src/OpenApi/Model/Parameter.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/OpenApi/Model/Parameter.php b/src/OpenApi/Model/Parameter.php index c8fad4f8089..6c93efbedec 100644 --- a/src/OpenApi/Model/Parameter.php +++ b/src/OpenApi/Model/Parameter.php @@ -83,6 +83,11 @@ public function getDeprecated(): bool return $this->deprecated; } + public function canAllowEmptyValue(): bool + { + return $this->allowEmptyValue; + } + public function getAllowEmptyValue(): bool { return $this->allowEmptyValue;