def METHOD_NAME(self):
    """
    Itterates over all routes and groups them by module. Modules are determined
    by the suffix text before : in the first tag for the router. These are used
    to generate the typescript class interface for interacting with the API
    """
    modules = {}
    all_paths = self.spec["paths"]
    for path, http_verbs in all_paths.items():
        for _, value in http_verbs.items():
            if "tags" in value:
                tag: str = value["tags"][0]
                if ":" in tag:
                    tag = tag.removeprefix('"').split(":")[0].replace(" ", "")
                    if modules.get(tag):
                        modules[tag][path] = http_verbs
                    else:
                        modules[tag] = {path: http_verbs}
    return modules