src/Validation/Spec/AbstractValidator.php
protected function resourceTypeNotSupported(string $actual, string $path = '/data'): void
    {
        $this->errors->add($this->translator->resourceTypeNotSupported($actual, $path));
    }
protected function resourceTypeNotSupported(string $actual, string $path = '/data'): void
    {
        $this->errors->add($this->translator->resourceTypeNotSupported($actual, $path));
    }
Add an error for when the resource type is not supported by the endpoint.

@param string $actual
@param string $path
@return void