public function buildSwagger()
    {
        $swagger = $this->swaggerConfig;
        $swagger['swagger'] = '2.0';


        $paths = $this->routingProcessor->process();
        if (count($paths) > 0) $swagger['paths'] = $paths;
        $schemes = $this->schemaProcessor->process();
        if (count($schemes) > 0) $swagger['definitions'] = $schemes;


        return json_encode($swagger);
    }