public function formatActionResponseProperty(ResponseProperty $responseProperty)
    {
        $info = [
            'name' => $responseProperty->getName(),
            'type' => $responseProperty->getType(),
            'description' => $responseProperty->getDescription()
        ];

        if ($responseProperty->isObject() || $responseProperty->isCollection()) {
            foreach ($responseProperty->getChild() as $resProperty) {
                $info['properties'][$resProperty->getName()] = $this->formatActionResponseProperty($resProperty);
            }
        }

        return $info;
    }