We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c2cc9 commit 26883a6Copy full SHA for 26883a6
src/Bridge/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig
@@ -47,7 +47,7 @@
47
}
48
});
49
50
- {% if operationId is defined %}
+ {% if operationId is not null %}
51
{% set domId = '#' ~ shortName ~ '_' ~ operationId %}
52
{% set id = app.request.attributes.get('id') %}
53
@@ -72,7 +72,7 @@
72
onFailure: function() {
73
log('Unable to Load SwaggerUI');
74
},
75
- docExpansion: {% if operationId is defined %}'none'{% else %}'list'{% endif %},
+ docExpansion: 'list',
76
jsonEditor: false,
77
defaultModelRendering: 'schema',
78
showRequestHeaders: true
0 commit comments