public function addCollection(\PhalconRest\Api\ApiCollection $collection)
{
foreach ($collection->getEndpoints() as $endpoint) {
$this->addRequest(new Request($this->id, uniqid(), $collection->getPrefix() . $endpoint->getPath(), $endpoint->getDescription(), $this->basePath . $collection->getPrefix() . $endpoint->getPath(), $endpoint->getHttpMethod(), 'Authorization: Bearer {{authToken}}', null, "raw"));
}
}