Skip to content

Commit

Permalink
Fixed bug nelmio#2287
Browse files Browse the repository at this point in the history
  • Loading branch information
heminei committed May 22, 2024
1 parent 2d45e53 commit 86ad6fc
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ private function processPropertyAnnotations($reflection, OA\Property $property,
return;
}

if (!Generator::isDefault($property->default)) {
return;
}

$existingRequiredFields = Generator::UNDEFINED !== $this->schema->required ? $this->schema->required : [];
$existingRequiredFields[] = $propertyName;

Expand Down

0 comments on commit 86ad6fc

Please sign in to comment.