https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
"""Redoc Open API documentation."""
    default_view = "redoc"
    @expose("/redoc")
    def redoc(self):
        """Redoc API documentation."""
        openapi_spec_url = url_for("/api/v1./api/v1_openapi_yaml")
        return self.render_template("airflow/redoc.html", openapi_spec_url=openapi_spec_url)
class DagFilter(BaseFilter):
    """Filter using DagIDs."""
    def apply(self, query, func):
        if get_auth_manager().is_authorized_dag(method="GET", user=g.user):
            return query
        if get_auth_manager().is_authorized_dag(method="PUT", user=g.user):
            return query
        filter_dag_ids = get_auth_manager().get_permitted_dag_ids(user=g.user)
        return query.where(self.model.dag_id.in_(filter_dag_ids))
class AirflowModelView(ModelView):