Skip to content

Commit

Permalink
Fix Swagger UI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Sep 17, 2016
1 parent f9c2cc9 commit 26883a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
});
{% if operationId is defined %}
{% if operationId is not null %}
{% set domId = '#' ~ shortName ~ '_' ~ operationId %}
{% set id = app.request.attributes.get('id') %}
Expand All @@ -72,7 +72,7 @@
onFailure: function() {
log('Unable to Load SwaggerUI');
},
docExpansion: {% if operationId is defined %}'none'{% else %}'list'{% endif %},
docExpansion: 'list',
jsonEditor: false,
defaultModelRendering: 'schema',
showRequestHeaders: true
Expand Down

0 comments on commit 26883a6

Please sign in to comment.