src/Generator.php
protected function saveJson()
    {
        $this->swagger->saveAs($this->docsFile);

        $security = new SecurityDefinitions();
        $security->generate($this->docsFile);

        return $this;
    }
protected function saveJson()
    {
        $this->swagger->saveAs($this->docsFile);

        $security = new SecurityDefinitions();
        $security->generate($this->docsFile);

        return $this;
    }
protected function saveJson ( ) { $ this -> swagger -> saveAs ( $ this -> docsFile ) ; $ security = new SecurityDefinitions ( ) ; $ security -> generate ( $ this -> docsFile ) ; return $ this ; }
Save documentation as json file.

@return Generator
Save documentation as json file .