code: def __add_class_views(self):
          
          config = self.config
          if "class_views" in self.kwargs:
              class_views = self.kwargs.pop("class_views")
  
              for route, view in class_views:
                  if issubclass(view, endpoints.BaseEndpoint) and isinstance(
                      route, str
                  ):
                      self.bp.add_route(
                          view.as_view(
                              self.responses,
                              config=self.config,
                              instance=self.instance,
                          ),
                          route,
                          strict_slashes=config.strict_slashes(),
                      )
                  else:
                      raise exceptions.InvalidClassViewsFormat()
docs: Include any custom class views on the Sanic JWT Blueprint