diff --git a/zerver/openapi/openapi.py b/zerver/openapi/openapi.py index 53a88b9269..70d0943d0b 100644 --- a/zerver/openapi/openapi.py +++ b/zerver/openapi/openapi.py @@ -347,10 +347,6 @@ def find_openapi_endpoint(path: str) -> Optional[str]: return None -def get_event_type(event: Dict[str, Any]) -> str: - return event["type"] + ":" + event.get("op", "") - - def fix_events(content: Dict[str, Any]) -> None: """Remove undocumented events from events array. This is a makeshift function so that further documentation of `/events` can happen with