openapi: Remove unused get_event_type function.

It’s unused since commit 8108acbdfd
(#16000).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-05-29 19:47:28 -07:00 committed by Tim Abbott
parent 68bc8b52c3
commit 0eff862459
1 changed files with 0 additions and 4 deletions

View File

@ -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