validate method
Validates value against the schema schemaName of components.schemas.
Implementation
List<ContractViolation> validate(Object? value, String schemaName) {
final out = <ContractViolation>[];
_check(value, {r'$ref': '#/components/schemas/$schemaName'}, '', out);
return out;
}