mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
bugdown: Rename openapi_example_params to openapi_params in generate_curl_example.
This commit is contained in:
@@ -137,8 +137,8 @@ def generate_curl_example(endpoint: str, method: str,
|
|||||||
if authentication_required:
|
if authentication_required:
|
||||||
lines.append(" -u %s:%s" % (auth_email, auth_api_key))
|
lines.append(" -u %s:%s" % (auth_email, auth_api_key))
|
||||||
|
|
||||||
openapi_example_params = get_openapi_parameters(endpoint, method)
|
openapi_params = get_openapi_parameters(endpoint, method)
|
||||||
for param in openapi_example_params:
|
for param in openapi_params:
|
||||||
param_name = param["name"]
|
param_name = param["name"]
|
||||||
if param_name in exclude:
|
if param_name in exclude:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user