main/app/API/Transfer/Adapter/Explain/Csv/ExplanationBuilder.php
private function explainOneOf($data, $explanation, $currentPath, $isArray = false)
    {
        $explanation->addOneOf(array_map(function ($oneOf) use ($currentPath, $isArray) {
            return $this->explainSchema($oneOf, null, $currentPath, $isArray);
        }, $data->oneOf), 'an auto generated descr', true);
    }
private function explainOneOf($data, $explanation, $currentPath, $isArray = false)
    {
        $explanation->addOneOf(array_map(function ($oneOf) use ($currentPath, $isArray) {
            return $this->explainSchema($oneOf, null, $currentPath, $isArray);
        }, $data->oneOf), 'an auto generated descr', true);
    }
private function explainOneOf ( $ data , $ explanation , $ currentPath , $ isArray = false ) { $ explanation -> addOneOf ( array_map ( function ( $ oneOf ) use ( $ currentPath , $ isArray ) { return $ this -> explainSchema ( $ oneOf , null , $ currentPath , $ isArray ) ; } , $ data -> oneOf ) , 'an auto generated descr' , true ) ; }
A oneOf is simply an other schema that needs to be explained.
A oneOf is simply an other schema that needs to be explained .