src/Shell/SwaggerShell.php
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.');
    }
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.');
    }
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.' ) ; }
Generate fresh filesystem documents for all entries found in the library.

@param string $host Hostname of system serving swagger documents (without protocol)
@return void
Generate fresh filesystem documents for all entries found in the library .