remove condition block for swagger api
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-02-16 15:30:21 +01:00
parent 682c096764
commit e0072f7679
1 changed files with 1 additions and 5 deletions

View File

@ -251,15 +251,11 @@ DEFAULT_INTERVAL = {{ gitea_mirror_default_interval }}
MIN_INTERVAL = {{ gitea_mirror_min_interval }}
[api]
{% if gitea_api_swagger_enabled | bool %}
ENABLE_SWAGGER = true
ENABLE_SWAGGER = {{ gitea_api_swagger_enabled | bool | lower }}
MAX_RESPONSE_ITEMS = 50
DEFAULT_PAGING_NUM = {{ gitea_api_default_paging_num }}
DEFAULT_GIT_TREES_PER_PAGE = {{ gitea_api_default_git_trees_per_page }}
DEFAULT_MAX_BLOB_SIZE = 10485760
{% else %}
ENABLE_SWAGGER = false
{% endif %}
{% if gitea_oauth_provider_enabled | bool %}
[oauth2]