mirror of https://github.com/tiangolo/fastapi.git
fix: 🚨 Fix True comparison
This commit is contained in:
parent
9ddd736d76
commit
3c4b96b275
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue