protected function rederigir_a_swagger() { $swagger_ui = toba_recurso::url_toba() . '/swagger/index.html'; $proy = toba_rest::url_api_doc(); header('Location: ' . $swagger_ui . '?url=' . $proy); }