Files
zulip/templates/zerver/api/dev-fetch-api-key.md
Suyash Vardhan Mathur 5f07c06040 openapi: Auto render response descriptions.
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.
2021-06-22 10:58:43 -07:00

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)}