diff --git a/zerver/openapi/python_examples.py b/zerver/openapi/python_examples.py index cc3e10f934..dacde233a8 100644 --- a/zerver/openapi/python_examples.py +++ b/zerver/openapi/python_examples.py @@ -582,7 +582,7 @@ def send_message(client): request = { "type": "stream", "to": "Denmark", - "subject": "Castle", + "topic": "Castle", "content": "I come not, friends, to steal away your hearts." } result = client.send_message(request) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 0a55709769..5b63569cfd 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -114,7 +114,7 @@ paths: "sender_id": 13215, "sender_realm_str": "example", "sender_short_name": "othello-bot", - "subject": "Castle", + "topic": "Castle", "subject_links": [], "timestamp": 1375978403, "type": "stream"