You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespaceApp;
useOpenApi\AnnotationsasOA;
useSymfony\Component\Validator\ConstraintsasAssert;
class FooBar
{
/** * @OA\Property( default="emtpy string ('')", * description="text that should be displayed in monitoring for the status code (when it will be detected as error)") * @Assert\Type(type="string") */privatestring$foo = '';
/** * @Assert\Valid() * * @var string[] */privatearray$bar;
publicfunction__construct()
{
$this->bar = [];
}
}
Before #2141 with a class definition like above the properties $foo and $bar where not marked as required. Now they are.
The text was updated successfully, but these errors were encountered:
Before #2141 with a class definition like above the properties
$foo
and$bar
where not marked as required. Now they are.The text was updated successfully, but these errors were encountered: