fix: 🚨 Fix True comparison

This commit is contained in:
Shahar Ilany 2022-12-17 16:19:51 +02:00
parent 9ddd736d76
commit 3c4b96b275
1 changed files with 2 additions and 2 deletions

View File

@ -256,8 +256,8 @@ def get_stoplight_elements_html(
{f'apiDescriptionUrl="{openapi_url}"' if openapi_url != '' else ''}
{f'apiDescriptionDocument="{api_description_document}"' if api_description_document != '' else ''}
{f'basePath="{base_path}"' if base_path != '' else ''}
{'hideInternal="true"' if hide_internal == True else ''}
{'hideTryIt="true"' if hide_try_it == True else ''}
{'hideInternal="true"' if hide_internal is True else ''}
{'hideTryIt="true"' if hide_try_it is True else ''}
{f'tryItCorsProxy="{try_it_cors_proxy}"' if try_it_cors_proxy != '' else ''}
tryItCredentialPolicy="{try_it_credential_policy.value}"
layout="{layout.value}"