1
0
Fork 0

Documentation should be expanded by default

This commit is contained in:
Razvan Grigore 2015-06-12 11:41:11 +02:00
parent 1b4fdd123c
commit d29ca08a09
2 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,6 @@
dom_id: "swagger-ui-container",
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
onComplete: function(swaggerApi, swaggerUi){
$('#resources').children().addClass('active').find('.endpoints').show();
$('pre code').each(function(i, e) {
hljs.highlightBlock(e)
});
@ -39,7 +38,7 @@
onFailure: function(data) {
log("Unable to Load SwaggerUI");
},
docExpansion: "none",
docExpansion: "list",
sorter : "alpha"
});

View File

@ -47,7 +47,7 @@
onFailure: function(data) {
log("Unable to Load SwaggerUI");
},
docExpansion: "none",
docExpansion: "list",
sorter : "alpha"
});