updated & rebuilt lib with unified client
This commit is contained in:
4
dist/index.html
vendored
4
dist/index.html
vendored
@@ -37,13 +37,13 @@
|
||||
onComplete: function(swaggerApi, swaggerUi){
|
||||
log("Loaded SwaggerUI");
|
||||
if(typeof initOAuth == "function") {
|
||||
/*
|
||||
|
||||
initOAuth({
|
||||
clientId: "your-client-id",
|
||||
realm: "your-realms",
|
||||
appName: "your-app-name"
|
||||
});
|
||||
*/
|
||||
|
||||
}
|
||||
$('pre code').each(function(i, e) {
|
||||
hljs.highlightBlock(e)
|
||||
|
||||
1891
dist/lib/swagger-client.js
vendored
1891
dist/lib/swagger-client.js
vendored
File diff suppressed because it is too large
Load Diff
4
dist/swagger-ui.js
vendored
4
dist/swagger-ui.js
vendored
@@ -271,7 +271,7 @@ function program1(depth0,data) {
|
||||
stack2 = ((stack1 = ((stack1 = depth0.info),stack1 == null || stack1 === false ? stack1 : stack1.description)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1);
|
||||
if(stack2 || stack2 === 0) { buffer += stack2; }
|
||||
buffer += "</div>\n ";
|
||||
stack2 = helpers['if'].call(depth0, ((stack1 = depth0.info),stack1 == null || stack1 === false ? stack1 : stack1.termsOfServiceUrl), {hash:{},inverse:self.noop,fn:self.program(2, program2, data),data:data});
|
||||
stack2 = helpers['if'].call(depth0, ((stack1 = depth0.info),stack1 == null || stack1 === false ? stack1 : stack1.termsOfService), {hash:{},inverse:self.noop,fn:self.program(2, program2, data),data:data});
|
||||
if(stack2 || stack2 === 0) { buffer += stack2; }
|
||||
buffer += "\n ";
|
||||
stack2 = helpers['if'].call(depth0, ((stack1 = depth0.info),stack1 == null || stack1 === false ? stack1 : stack1.contact), {hash:{},inverse:self.noop,fn:self.program(4, program4, data),data:data});
|
||||
@@ -286,7 +286,7 @@ function program2(depth0,data) {
|
||||
|
||||
var buffer = "", stack1;
|
||||
buffer += "<div class=\"info_tos\"><a href=\""
|
||||
+ escapeExpression(((stack1 = ((stack1 = depth0.info),stack1 == null || stack1 === false ? stack1 : stack1.termsOfServiceUrl)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
+ escapeExpression(((stack1 = ((stack1 = depth0.info),stack1 == null || stack1 === false ? stack1 : stack1.termsOfService)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
+ "\">Terms of service</a></div>";
|
||||
return buffer;
|
||||
}
|
||||
|
||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
1695
lib/swagger.js
1695
lib/swagger.js
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,7 @@
|
||||
"readmeFilename": "README.md",
|
||||
"dependencies": {
|
||||
"coffee-script": "~1.6.3",
|
||||
"swagger-client": "2.0.48",
|
||||
"swagger-client": "2.1.0-alpha.5",
|
||||
"handlebars": "~1.0.10",
|
||||
"less": "~1.4.2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user