public static function getResponseDocumentation(): ApivalkResponseDocumentation
{
$doc = new ApivalkResponseDocumentation();
$doc->setDescription('Successfully retrieved the list of posts');
// Add properties that will be inside each item of the 'data' array
// if pagination is enabled, or in the root object if not.
$doc->addProperty(new StringProperty('title', 'The post title'));
$doc->addProperty(new StringProperty('content', 'The post body'));
$doc->addProperty(new StringProperty('created_at', 'ISO 8601 date'));
$doc->setHasResponsePagination(true);
return $doc;
}