public function save($filename, $alternativeHost = null)
    {
        $this->build($alternativeHost);

        $this->analysis->swagger->saveAs($filename);
    }
public function save($filename, $alternativeHost = null)
    {
        $this->build($alternativeHost);

        $this->analysis->swagger->saveAs($filename);
    }
public function save ( $ filename , $ alternativeHost = null ) { $ this -> build ( $ alternativeHost ) ; $ this -> analysis -> swagger -> saveAs ( $ filename ) ; }
Build and save OpenAPI json to file.

@param string $filename
@param null|string $alternativeHost
Build and save OpenAPI json to file .