Library/Bullhorn/FastRest/Generator/ControllerBuilder.php
private function buildDocumentation() {
        $model = new Swagger\Model();
        $model->setId($this->getClassName());
        $this->buildProperties($model);
        foreach($this->getRelatedModels() as $alias => $relatedModel) {
            $this->buildProperties($model, $alias);
        }
        $resource = new Swagger\Resource();
        $resource->setApiVersion('1.0')->setBasePath('/v1.0')->setResourcePath($this->getClassName());
        $resource->setDescription('');
        $documentation = $model . "\n" . $resource;
        $this->getObject()->setDocumentation($documentation);
    }
private function buildDocumentation() {
        $model = new Swagger\Model();
        $model->setId($this->getClassName());
        $this->buildProperties($model);
        foreach($this->getRelatedModels() as $alias => $relatedModel) {
            $this->buildProperties($model, $alias);
        }
        $resource = new Swagger\Resource();
        $resource->setApiVersion('1.0')->setBasePath('/v1.0')->setResourcePath($this->getClassName());
        $resource->setDescription('');
        $documentation = $model . "\n" . $resource;
        $this->getObject()->setDocumentation($documentation);
    }
private function buildDocumentation ( ) { $ model = new Swagger \ Model ( ) ; $ model -> setId ( $ this -> getClassName ( ) ) ; $ this -> buildProperties ( $ model ) ; foreach ( $ this -> getRelatedModels ( ) as $ alias => $ relatedModel ) { $ this -> buildProperties ( $ model , $ alias ) ; } $ resource = new Swagger \ Resource ( ) ; $ resource -> setApiVersion ( '1.0' ) -> setBasePath ( '/v1.0' ) -> setResourcePath ( $ this -> getClassName ( ) ) ; $ resource -> setDescription ( '' ) ; $ documentation = $ model . "\n" . $ resource ; $ this -> getObject ( ) -> setDocumentation ( $ documentation ) ; }
Builds the class documentation
@return void
Builds the class documentation