Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
apidocs: Move stray server settings description to OpenAPI.
Suyash Vardhan Mathurd6ed38e0c94d
diff --git a/templates/zerver/api/get-server-settings.md b/templates/zerver/api/get-server-settings.mdindex 3a952e0e8cb..750ed10478c 100644--- a/templates/zerver/api/get-server-settings.md+++ b/templates/zerver/api/get-server-settings.md@@ -27,18 +27,6 @@{generate_return_values_table|zulip.yaml|/server_settings:get}-[ldap-auth]: https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#ldap-including-active-directory--Please note that not all of these attributes are guaranteed to appear in a-response, for two reasons:--* This endpoint has evolved over time, so responses from older Zulip servers- might be missing some keys (in which case a client should assume the- appropriate default).-* If a `/server_settings` request is made to the root domain of a- multi-subdomain server, like the root domain of zulip.com, the settings- that are realm-specific are not known and thus not provided.-{generate_response_description(/server_settings:get)}#### Example responsediff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 9c9d4672c28..5d8ac32e9ee 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -9507,6 +9507,16 @@ paths:operationId: get_server_settingssummary: Get server settingstags: ["server_and_organizations"]+ x-response-description: |+ Please note that not all of these attributes are guaranteed to appear in a+ response, for two reasons:++ * This endpoint has evolved over time, so responses from older Zulip servers+ might be missing some keys (in which case a client should assume the+ appropriate default).+ * If a `/server_settings` request is made to the root domain of a+ multi-subdomain server, like the root domain of zulip.com, the settings+ that are realm-specific are not known and thus not provided.description: |Fetch global settings for a Zulip server.@@ -9675,6 +9685,8 @@ paths:This value will be false if the server has [LDAPauthentication][ldap-auth] enabled with a username andpassword combination.++ [ldap-auth]: https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#ldap-including-active-directoryrealm_uri:type: stringdescription: |