zulip/zerver/openapi
Prakhar Pratyush 181572021d get_stream_topics: Add support for empty topic name.
This commit is a part of the work to support empty
string as a topic name.

Previously, empty string was not a valid topic name.

Adds `allow_empty_topic_name` boolean parameter to
`GET /users/me/{stream_id}/topics` endpoint to decide
whether the topic names in the fetched `topics` array
can be empty strings.

If False, the topic names in the fetched response will
have the value of `realm_empty_topic_display_name` field
in `POST /register` response replacing "".

Fixes part of #23291.
2025-01-22 15:54:11 -08:00
..
__init__.py openapi: Add missing __init__.py; fix type errors hidden by its absence. 2021-07-05 12:20:39 -07:00
curl_param_value_generators.py user_groups: Add setting to control who can remove members. 2024-12-02 17:38:44 -08:00
javascript_examples.js web: Set "type": "module" and convert various CJS files to ESM. 2024-11-13 09:18:56 -08:00
javascript_examples.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
markdown_extension.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
openapi.py requirements: Upgrade Python requirements. 2025-01-14 09:42:16 -08:00
python_examples.py streams: Remove API support for changing stream_post_policy. 2025-01-07 12:17:36 -08:00
test_curl_examples.py models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml get_stream_topics: Add support for empty topic name. 2025-01-22 15:54:11 -08:00