Closed charjr closed 1 year ago
FixedFields(...$fields) validates that only fixed fields have been provided.
FixedFields(...$fields)
This is work towards the Object Builder handling when additionalProperties is set to false.
i.e.
$beforeChain = []; ... if ($specification->additionalProperties === false) { $beforeChain[] = new FixedFields(...$specification->properties); } ... $beforeSet = new BeforeSet(...$beforeChain)
FixedFields(...$fields)
validates that only fixed fields have been provided.This is work towards the Object Builder handling when additionalProperties is set to false.
i.e.