public function getDocumentation($version = null)
    {
        return $this->routesMethodService->getDocumentation(
            $this->context->getRouteId(),
            $version,
            $this->context->getPath()
        );
    }
public function getDocumentation($version = null)
    {
        return $this->routesMethodService->getDocumentation(
            $this->context->getRouteId(),
            $version,
            $this->context->getPath()
        );
    }
public function getDocumentation ( $ version = null ) { return $ this -> routesMethodService -> getDocumentation ( $ this -> context -> getRouteId ( ) , $ version , $ this -> context -> getPath ( ) ) ; }
Select all methods from the routes method table and build a resource
based on the data. If the route is in production mode read the schema
from the cache else resolve it

@param integer $version
@return \PSX\Api\Resource|null
Select all methods from the routes method table and build a resource based on the data . If the route is in production mode read the schema from the cache else resolve it