/** * Basic structure of the spec * * @return array Basic structure */ private function getBasicStructure() { $ret = array(); $ret['swagger'] = '2.0'; $ret['info'] = array('version' => $this->coreUtils->getWrapperVersion()['version'], 'title' => 'Graviton REST Services', 'description' => 'Testable API Documentation of this Graviton instance.'); $ret['basePath'] = '/'; $ret['schemes'] = array('http', 'https'); return $ret; }