/**
* @param HttpFactoryInterface $factory
* @param EncodingParametersInterface $parameters
* @param ApiInterface $api
* @throws JsonApiException
*/
private function checkEncodingParameters(HttpFactoryInterface $factory, EncodingParametersInterface $parameters, ApiInterface $api)
{
$checker = $factory->createQueryChecker($this->allowUnrecognizedParameters(), $this->allowedIncludePaths(), $this->allowedFieldSetTypes(), $this->allowedSortParameters(), $this->allowedPagingParameters($api->getPagingStrategy()), $this->allowedFilteringParameters());
$checker->checkQuery($parameters);
}