src/ArtaxServiceBuilder/OperationDefinition.php
public function getRequiredParams() {
        $requiredParams = [];
        
        foreach ($this->parameters as $parameter) {
            if ($parameter->getIsOptional() || $parameter->hasDefault()) {
                continue;
            }
            $requiredParams[]  = $parameter;
        }

        return $requiredParams;
    }
public function getRequiredParams() {
        $requiredParams = [];
        
        foreach ($this->parameters as $parameter) {
            if ($parameter->getIsOptional() || $parameter->hasDefault()) {
                continue;
            }
            $requiredParams[]  = $parameter;
        }

        return $requiredParams;
    }
Get all the params that are either not optional and don't have a default value
@return \ArtaxServiceBuilder\Parameter[]