public function makedocs($host)
    {
        // make same configuration as used by the API availble inside the lib
        if (Configure::read('Swagger')) {
            $this->config = Hash::merge(AppController::$defaultConfig, Configure::read('Swagger'));
        }

        $this->out('Crawl-generating swagger documents...');
        SwaggerTools::makeDocs($host);
        $this->out('Command completed successfully.');
    }