public function getDescription(string $resourceClass): array
    {
        $description = [];

        $properties = $this->properties;
        if (null === $properties) {
            $family = $this->getFamily($resourceClass);
            $properties = array_fill_keys(array_keys($family->getAttributes()), null);
        }

        foreach ($properties as $property => $strategy) {
            try {
                $attribute = $this->getAttribute($resourceClass, $property);
            } catch (MissingAttributeException $e) {
                continue;
            }
            $typeOfField = $this->getType($attribute);
            if (!\in_array($typeOfField, $this->supportedTypes, true)) {
                continue;
            }

            $this->appendFilterDescription($description, $attribute, $property, $typeOfField, $strategy);
        }

        return $description;
    }