zulip/zerver/openapi
Suyash Vardhan Mathur 1acee9f516 apidocs: Migrate admin_config out of templates.
Currently, the `admin_config` configuration was
hardcoded in the templates, but as a goal of creating
a common template, we need to move all configurations
outside.

Moved the checking for function and language which need
admin_config out of templates into the code and added a
boolean `x-admin-config` to store whehter the operation
requires admin config.

Also, added the banner for admin access to auto-generate
if admin_config is present, and fixed the admin_config
for endpoints that were earlier missing it in the templates.
2021-06-16 09:52:43 -07:00
..
curl_param_value_generators.py openapi: Refactor hacky openAPI curl test. 2021-04-28 15:49:35 -07:00
javascript_examples.js eslint: Fix unicorn/no-new-array. 2021-01-25 14:53:19 -08:00
javascript_examples.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
markdown_extension.py apidocs: Migrate admin_config out of templates. 2021-06-16 09:52:43 -07:00
openapi.py apidocs: Migrate admin_config out of templates. 2021-06-16 09:52:43 -07:00
python_examples.py api: Fix encoding of strings in display settings endpoint. 2021-05-10 10:03:32 -07:00
test_curl_examples.py curl_examples: Add testing for template endpoints. 2021-06-04 09:43:24 -07:00
testing.yaml openapi: Add missing object types. 2020-08-12 16:11:29 -07:00
zulip.yaml apidocs: Migrate admin_config out of templates. 2021-06-16 09:52:43 -07:00