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.
2 parents f9c2cc9 + 26883a6 commit 2d252cfCopy full SHA for 2d252cf
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