diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index f60272a9..7738dd56 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -218,6 +218,28 @@ templates['main'] = template({"1":function(container,depth0,helpers,partials,dat + " \n \n\n"; },"useData":true}); templates['oauth2'] = template({"1":function(container,depth0,helpers,partials,data) { + var stack1; + + return "
Authorization URL: " + + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.authorizationUrl : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") + + "
"; +},"3":function(container,depth0,helpers,partials,data) { + var stack1; + + return "Token URL: " + + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.tokenUrl : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") + + "
"; +},"5":function(container,depth0,helpers,partials,data) { + return "Please input username and password for password flow authorization
\n \n"; +},"7":function(container,depth0,helpers,partials,data) { + var stack1; + + return "Setup client authentication." + + ((stack1 = helpers["if"].call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.requireClientAuthenticaiton : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + + "
\n \n"; +},"8":function(container,depth0,helpers,partials,data) { + return "(Required)"; +},"10":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; return "" + return "
" + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") - + "
\nScopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes.\n Learn how to use\n
\n" - + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.appName : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") - + " API requires the following scopes. Select which ones you want to grant to Swagger UI.
\nAuthorization URL: " - + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.authorizationUrl : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") - + "
\nflow: " + + "
\n " + + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.authorizationUrl : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + + "\n " + + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.tokenUrl : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + + "\nflow: " + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.flow : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") - + "
\n" + + ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.appName : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") + + " API requires the following scopes. Select which ones you want to grant to Swagger UI.
\nScopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes.\n Learn how to use\n
\n| ' + type + ' |
|---|