public function indexAction()
 {
     $data = array();
     foreach ($this->schemaRegistry->getAliases() as $alias) {
         $data[$alias] = $this->router->generate('show_json_schema', array('alias' => $alias), \Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL);
     }
     return new JsonResponse($data);
 }
 public function indexAction()
 {
     $data = array();
     foreach ($this->schemaRegistry->getAliases() as $alias) {
         $data[$alias . '_url'] = $this->router->generate('show_json_schema', array('alias' => $alias), true);
     }
     return new JsonResponse($data);
 }