def METHOD_NAME(self, raw_modules: dict) -> dict:
    for _, routes in raw_modules.items():
        for _, verbs in routes.items():
            for _, value in verbs.items():
                if "requestBody" in value:
                    try:
                        schema_ref = value["requestBody"]["content"]["application/json"]["schema"]["$ref"]
                        schema = self._get_openapi_spec(schema_ref)
                        value["requestBody"]["content"]["application/json"]["schema"] = schema
                    except Exception:
                        continue
    return raw_modules