bugdown: Rename openapi_example_params to openapi_params in generate_curl_example.

This commit is contained in:
Vishnu Ks 2019-10-03 12:46:54 +00:00 committed by Tim Abbott
parent f4e3e6068f
commit dff62a240b
1 changed files with 2 additions and 2 deletions

View File

@ -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