mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
This commit modifies the templates to auto-generate general descriptions of responses directly from the newly added field of x-response-description as a part of the goal of a common template.
644 B
644 B
{generate_api_title(/dev_fetch_api_key:post)}
{generate_api_description(/dev_fetch_api_key:post)}
Usage examples
{start_tabs} {tab|curl}
{generate_code_example(curl)|/dev_fetch_api_key:post|example}
{end_tabs}
Parameters
{generate_api_arguments_table|zulip.yaml|/dev_fetch_api_key:post}
{generate_parameter_description(/dev_fetch_api_key:post)}
Response
{generate_return_values_table|zulip.yaml|/dev_fetch_api_key:post}
{generate_response_description(/dev_fetch_api_key:post)}
Example response
{generate_code_example|/dev_fetch_api_key:post|fixture(200)}
{generate_code_example|/dev_fetch_api_key:post|fixture(400)}