Skip to content

Commit cef58ae

Browse files
committed
use swagger_ui_extra_configuration
1 parent 7e723cb commit cef58ae

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

core/configuration.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,13 @@ api_platform:
207207
# Whether the API key should be a query parameter or a header.
208208
# type: 'query' or 'header'
209209

210+
swagger_ui_extra_configuration:
211+
# Controls the default expansion setting for the operations and tags. It can be 'list' (expands only the tags), 'full' (expands the tags and operations) or 'none' (expands nothing).
212+
docExpansion: list
213+
# If set, enables filtering. The top bar will show an edit box that you can use to filter the tagged operations that are shown.
214+
filter: false
215+
# You can use any other configuration parameters too.
216+
210217
openapi:
211218
# The contact information for the exposed API.
212219
contact:
@@ -223,14 +230,14 @@ api_platform:
223230
# The license name used for the API.
224231
name:
225232
# URL to the license used for the API. MUST be in the format of a URL.
226-
url:
233+
url:
227234

228-
# Swagger UI resources config
229-
ui:
235+
swagger_ui_extra_configuration:
230236
# Controls the default expansion setting for the operations and tags. It can be 'list' (expands only the tags), 'full' (expands the tags and operations) or 'none' (expands nothing).
231-
doc_expansion: list
237+
docExpansion: list
232238
# If set, enables filtering. The top bar will show an edit box that you can use to filter the tagged operations that are shown.
233239
filter: false
240+
# You can use any other configuration parameters too.
234241

235242
http_cache:
236243
# To make all responses public by default.

0 commit comments

Comments
 (0)