updated client, version
This commit is contained in:
68
dist/lib/swagger.js
vendored
68
dist/lib/swagger.js
vendored
@@ -1,5 +1,5 @@
|
|||||||
// swagger.js
|
// swagger.js
|
||||||
// version 2.0.37
|
// version 2.0.39
|
||||||
|
|
||||||
var __bind = function(fn, me){
|
var __bind = function(fn, me){
|
||||||
return function(){
|
return function(){
|
||||||
@@ -15,6 +15,16 @@ log = function(){
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// if you want to apply conditional formatting of parameter values
|
||||||
|
parameterMacro = function(value) {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// if you want to apply conditional formatting of model property values
|
||||||
|
modelPropertyMacro = function(value) {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
if (!Array.prototype.indexOf) {
|
if (!Array.prototype.indexOf) {
|
||||||
Array.prototype.indexOf = function(obj, start) {
|
Array.prototype.indexOf = function(obj, start) {
|
||||||
for (var i = (start || 0), j = this.length; i < j; i++) {
|
for (var i = (start || 0), j = this.length; i < j; i++) {
|
||||||
@@ -80,6 +90,7 @@ Object.keys = Object.keys || (function () {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
var SwaggerApi = function(url, options) {
|
var SwaggerApi = function(url, options) {
|
||||||
|
this.isBuilt = false;
|
||||||
this.url = null;
|
this.url = null;
|
||||||
this.debug = false;
|
this.debug = false;
|
||||||
this.basePath = null;
|
this.basePath = null;
|
||||||
@@ -87,6 +98,7 @@ var SwaggerApi = function(url, options) {
|
|||||||
this.authorizationScheme = null;
|
this.authorizationScheme = null;
|
||||||
this.info = null;
|
this.info = null;
|
||||||
this.useJQuery = false;
|
this.useJQuery = false;
|
||||||
|
this.modelsArray = [];
|
||||||
|
|
||||||
options = (options||{});
|
options = (options||{});
|
||||||
if (url)
|
if (url)
|
||||||
@@ -108,11 +120,15 @@ var SwaggerApi = function(url, options) {
|
|||||||
|
|
||||||
this.failure = options.failure != null ? options.failure : function() {};
|
this.failure = options.failure != null ? options.failure : function() {};
|
||||||
this.progress = options.progress != null ? options.progress : function() {};
|
this.progress = options.progress != null ? options.progress : function() {};
|
||||||
if (options.success != null)
|
if (options.success != null) {
|
||||||
this.build();
|
this.build();
|
||||||
|
this.isBuilt = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SwaggerApi.prototype.build = function() {
|
SwaggerApi.prototype.build = function() {
|
||||||
|
if(this.isBuilt)
|
||||||
|
return this;
|
||||||
var _this = this;
|
var _this = this;
|
||||||
this.progress('fetching resource list: ' + this.url);
|
this.progress('fetching resource list: ' + this.url);
|
||||||
var obj = {
|
var obj = {
|
||||||
@@ -120,7 +136,7 @@ SwaggerApi.prototype.build = function() {
|
|||||||
url: this.url,
|
url: this.url,
|
||||||
method: "get",
|
method: "get",
|
||||||
headers: {
|
headers: {
|
||||||
accept: "application/json"
|
accept: "application/json,application/json;charset=\"utf-8\",*/*"
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
error: function(response) {
|
error: function(response) {
|
||||||
@@ -276,7 +292,6 @@ SwaggerApi.prototype.fail = function(message) {
|
|||||||
|
|
||||||
SwaggerApi.prototype.setConsolidatedModels = function() {
|
SwaggerApi.prototype.setConsolidatedModels = function() {
|
||||||
var model, modelName, resource, resource_name, _i, _len, _ref, _ref1, _results;
|
var model, modelName, resource, resource_name, _i, _len, _ref, _ref1, _results;
|
||||||
this.modelsArray = [];
|
|
||||||
this.models = {};
|
this.models = {};
|
||||||
_ref = this.apis;
|
_ref = this.apis;
|
||||||
for (resource_name in _ref) {
|
for (resource_name in _ref) {
|
||||||
@@ -353,7 +368,7 @@ var SwaggerResource = function(resourceObj, api) {
|
|||||||
method: "get",
|
method: "get",
|
||||||
useJQuery: this.useJQuery,
|
useJQuery: this.useJQuery,
|
||||||
headers: {
|
headers: {
|
||||||
accept: "application/json"
|
accept: "application/json,application/json;charset=\"utf-8\",*/*"
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
response: function(resp) {
|
response: function(resp) {
|
||||||
@@ -593,6 +608,7 @@ var SwaggerModelProperty = function(name, obj) {
|
|||||||
this.isCollection = this.dataType && (this.dataType.toLowerCase() === 'array' || this.dataType.toLowerCase() === 'list' || this.dataType.toLowerCase() === 'set');
|
this.isCollection = this.dataType && (this.dataType.toLowerCase() === 'array' || this.dataType.toLowerCase() === 'list' || this.dataType.toLowerCase() === 'set');
|
||||||
this.descr = obj.description;
|
this.descr = obj.description;
|
||||||
this.required = obj.required;
|
this.required = obj.required;
|
||||||
|
this.defaultValue = modelPropertyMacro(obj.defaultValue);
|
||||||
if (obj.items != null) {
|
if (obj.items != null) {
|
||||||
if (obj.items.type != null) {
|
if (obj.items.type != null) {
|
||||||
this.refDataType = obj.items.type;
|
this.refDataType = obj.items.type;
|
||||||
@@ -638,7 +654,9 @@ SwaggerModelProperty.prototype.getSampleValue = function(modelsToIgnore) {
|
|||||||
|
|
||||||
SwaggerModelProperty.prototype.toSampleValue = function(value) {
|
SwaggerModelProperty.prototype.toSampleValue = function(value) {
|
||||||
var result;
|
var result;
|
||||||
if (value === "integer") {
|
if ((typeof this.defaultValue !== 'undefined') && this.defaultValue !== null) {
|
||||||
|
result = this.defaultValue;
|
||||||
|
} else if (value === "integer") {
|
||||||
result = 0;
|
result = 0;
|
||||||
} else if (value === "boolean") {
|
} else if (value === "boolean") {
|
||||||
result = false;
|
result = false;
|
||||||
@@ -768,6 +786,7 @@ var SwaggerOperation = function(nickname, path, method, parameters, summary, not
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
param.defaultValue = parameterMacro(param.defaultValue);
|
||||||
}
|
}
|
||||||
this.resource[this.nickname] = function(args, callback, error) {
|
this.resource[this.nickname] = function(args, callback, error) {
|
||||||
return _this["do"](args, callback, error);
|
return _this["do"](args, callback, error);
|
||||||
@@ -1218,7 +1237,7 @@ SwaggerRequest.prototype.setHeaders = function(params, operation) {
|
|||||||
// if there's a body, need to set the accepts header via requestContentType
|
// if there's a body, need to set the accepts header via requestContentType
|
||||||
if (body && (this.type === "POST" || this.type === "PUT" || this.type === "PATCH" || this.type === "DELETE")) {
|
if (body && (this.type === "POST" || this.type === "PUT" || this.type === "PATCH" || this.type === "DELETE")) {
|
||||||
if (this.opts.requestContentType)
|
if (this.opts.requestContentType)
|
||||||
accepts = this.opts.requestContentType;
|
consumes = this.opts.requestContentType;
|
||||||
} else {
|
} else {
|
||||||
// if any form params, content type must be set
|
// if any form params, content type must be set
|
||||||
if(definedFormParams.length > 0) {
|
if(definedFormParams.length > 0) {
|
||||||
@@ -1227,7 +1246,7 @@ SwaggerRequest.prototype.setHeaders = function(params, operation) {
|
|||||||
else
|
else
|
||||||
consumes = "application/x-www-form-urlencoded";
|
consumes = "application/x-www-form-urlencoded";
|
||||||
}
|
}
|
||||||
else if (this.type == "DELETE")
|
else if (this.type === "DELETE")
|
||||||
body = "{}";
|
body = "{}";
|
||||||
else if (this.type != "DELETE")
|
else if (this.type != "DELETE")
|
||||||
accepts = null;
|
accepts = null;
|
||||||
@@ -1461,11 +1480,36 @@ ShredHttpClient.prototype.execute = function(obj) {
|
|||||||
return out;
|
return out;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Transform an error into a usable response-like object
|
||||||
|
var transformError = function(error) {
|
||||||
|
var out = {
|
||||||
|
// Default to a status of 0 - The client will treat this as a generic permissions sort of error
|
||||||
|
status: 0,
|
||||||
|
data: error.message || error
|
||||||
|
};
|
||||||
|
|
||||||
|
if(error.code) {
|
||||||
|
out.obj = error;
|
||||||
|
|
||||||
|
if(error.code === 'ENOTFOUND' || error.code === 'ECONNREFUSED' ) {
|
||||||
|
// We can tell the client that this should be treated as a missing resource and not as a permissions thing
|
||||||
|
out.status = 404;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return out;
|
||||||
|
};
|
||||||
|
|
||||||
res = {
|
res = {
|
||||||
error: function(response) {
|
error: function(response) {
|
||||||
if (obj)
|
if (obj)
|
||||||
return cb.error(transform(response));
|
return cb.error(transform(response));
|
||||||
},
|
},
|
||||||
|
// Catch the Shred error raised when the request errors as it is made (i.e. No Response is coming)
|
||||||
|
request_error: function(err) {
|
||||||
|
if(obj)
|
||||||
|
return cb.error(transformError(err));
|
||||||
|
},
|
||||||
redirect: function(response) {
|
redirect: function(response) {
|
||||||
if (obj)
|
if (obj)
|
||||||
return cb.redirect(transform(response));
|
return cb.redirect(transform(response));
|
||||||
@@ -1533,10 +1577,11 @@ SwaggerAuthorizations.prototype.apply = function(obj, authorizations) {
|
|||||||
/**
|
/**
|
||||||
* ApiKeyAuthorization allows a query param or header to be injected
|
* ApiKeyAuthorization allows a query param or header to be injected
|
||||||
*/
|
*/
|
||||||
var ApiKeyAuthorization = function(name, value, type) {
|
var ApiKeyAuthorization = function(name, value, type, delimiter) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.value = value;
|
this.value = value;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
this.delimiter = delimiter;
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiKeyAuthorization.prototype.apply = function(obj, authorizations) {
|
ApiKeyAuthorization.prototype.apply = function(obj, authorizations) {
|
||||||
@@ -1547,6 +1592,11 @@ ApiKeyAuthorization.prototype.apply = function(obj, authorizations) {
|
|||||||
obj.url = obj.url + "?" + this.name + "=" + this.value;
|
obj.url = obj.url + "?" + this.name + "=" + this.value;
|
||||||
return true;
|
return true;
|
||||||
} else if (this.type === "header") {
|
} else if (this.type === "header") {
|
||||||
|
if(typeof obj.headers[this.name] !== 'undefined') {
|
||||||
|
if(typeof this.delimiter !== 'undefined')
|
||||||
|
obj.headers[this.name] = obj.headers[this.name] + this.delimiter + this.value;
|
||||||
|
}
|
||||||
|
else
|
||||||
obj.headers[this.name] = this.value;
|
obj.headers[this.name] = this.value;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -1,5 +1,5 @@
|
|||||||
// swagger-ui.js
|
// swagger-ui.js
|
||||||
// version 2.0.22
|
// version 2.0.23
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
// Helper function for vertically aligning DOM elements
|
// Helper function for vertically aligning DOM elements
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// swagger.js
|
// swagger.js
|
||||||
// version 2.0.37
|
// version 2.0.39
|
||||||
|
|
||||||
var __bind = function(fn, me){
|
var __bind = function(fn, me){
|
||||||
return function(){
|
return function(){
|
||||||
@@ -15,6 +15,16 @@ log = function(){
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// if you want to apply conditional formatting of parameter values
|
||||||
|
parameterMacro = function(value) {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// if you want to apply conditional formatting of model property values
|
||||||
|
modelPropertyMacro = function(value) {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
if (!Array.prototype.indexOf) {
|
if (!Array.prototype.indexOf) {
|
||||||
Array.prototype.indexOf = function(obj, start) {
|
Array.prototype.indexOf = function(obj, start) {
|
||||||
for (var i = (start || 0), j = this.length; i < j; i++) {
|
for (var i = (start || 0), j = this.length; i < j; i++) {
|
||||||
@@ -80,6 +90,7 @@ Object.keys = Object.keys || (function () {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
var SwaggerApi = function(url, options) {
|
var SwaggerApi = function(url, options) {
|
||||||
|
this.isBuilt = false;
|
||||||
this.url = null;
|
this.url = null;
|
||||||
this.debug = false;
|
this.debug = false;
|
||||||
this.basePath = null;
|
this.basePath = null;
|
||||||
@@ -87,6 +98,7 @@ var SwaggerApi = function(url, options) {
|
|||||||
this.authorizationScheme = null;
|
this.authorizationScheme = null;
|
||||||
this.info = null;
|
this.info = null;
|
||||||
this.useJQuery = false;
|
this.useJQuery = false;
|
||||||
|
this.modelsArray = [];
|
||||||
|
|
||||||
options = (options||{});
|
options = (options||{});
|
||||||
if (url)
|
if (url)
|
||||||
@@ -108,11 +120,15 @@ var SwaggerApi = function(url, options) {
|
|||||||
|
|
||||||
this.failure = options.failure != null ? options.failure : function() {};
|
this.failure = options.failure != null ? options.failure : function() {};
|
||||||
this.progress = options.progress != null ? options.progress : function() {};
|
this.progress = options.progress != null ? options.progress : function() {};
|
||||||
if (options.success != null)
|
if (options.success != null) {
|
||||||
this.build();
|
this.build();
|
||||||
|
this.isBuilt = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SwaggerApi.prototype.build = function() {
|
SwaggerApi.prototype.build = function() {
|
||||||
|
if(this.isBuilt)
|
||||||
|
return this;
|
||||||
var _this = this;
|
var _this = this;
|
||||||
this.progress('fetching resource list: ' + this.url);
|
this.progress('fetching resource list: ' + this.url);
|
||||||
var obj = {
|
var obj = {
|
||||||
@@ -120,7 +136,7 @@ SwaggerApi.prototype.build = function() {
|
|||||||
url: this.url,
|
url: this.url,
|
||||||
method: "get",
|
method: "get",
|
||||||
headers: {
|
headers: {
|
||||||
accept: "application/json"
|
accept: "application/json,application/json;charset=\"utf-8\",*/*"
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
error: function(response) {
|
error: function(response) {
|
||||||
@@ -276,7 +292,6 @@ SwaggerApi.prototype.fail = function(message) {
|
|||||||
|
|
||||||
SwaggerApi.prototype.setConsolidatedModels = function() {
|
SwaggerApi.prototype.setConsolidatedModels = function() {
|
||||||
var model, modelName, resource, resource_name, _i, _len, _ref, _ref1, _results;
|
var model, modelName, resource, resource_name, _i, _len, _ref, _ref1, _results;
|
||||||
this.modelsArray = [];
|
|
||||||
this.models = {};
|
this.models = {};
|
||||||
_ref = this.apis;
|
_ref = this.apis;
|
||||||
for (resource_name in _ref) {
|
for (resource_name in _ref) {
|
||||||
@@ -353,7 +368,7 @@ var SwaggerResource = function(resourceObj, api) {
|
|||||||
method: "get",
|
method: "get",
|
||||||
useJQuery: this.useJQuery,
|
useJQuery: this.useJQuery,
|
||||||
headers: {
|
headers: {
|
||||||
accept: "application/json"
|
accept: "application/json,application/json;charset=\"utf-8\",*/*"
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
response: function(resp) {
|
response: function(resp) {
|
||||||
@@ -593,6 +608,7 @@ var SwaggerModelProperty = function(name, obj) {
|
|||||||
this.isCollection = this.dataType && (this.dataType.toLowerCase() === 'array' || this.dataType.toLowerCase() === 'list' || this.dataType.toLowerCase() === 'set');
|
this.isCollection = this.dataType && (this.dataType.toLowerCase() === 'array' || this.dataType.toLowerCase() === 'list' || this.dataType.toLowerCase() === 'set');
|
||||||
this.descr = obj.description;
|
this.descr = obj.description;
|
||||||
this.required = obj.required;
|
this.required = obj.required;
|
||||||
|
this.defaultValue = modelPropertyMacro(obj.defaultValue);
|
||||||
if (obj.items != null) {
|
if (obj.items != null) {
|
||||||
if (obj.items.type != null) {
|
if (obj.items.type != null) {
|
||||||
this.refDataType = obj.items.type;
|
this.refDataType = obj.items.type;
|
||||||
@@ -638,7 +654,9 @@ SwaggerModelProperty.prototype.getSampleValue = function(modelsToIgnore) {
|
|||||||
|
|
||||||
SwaggerModelProperty.prototype.toSampleValue = function(value) {
|
SwaggerModelProperty.prototype.toSampleValue = function(value) {
|
||||||
var result;
|
var result;
|
||||||
if (value === "integer") {
|
if ((typeof this.defaultValue !== 'undefined') && this.defaultValue !== null) {
|
||||||
|
result = this.defaultValue;
|
||||||
|
} else if (value === "integer") {
|
||||||
result = 0;
|
result = 0;
|
||||||
} else if (value === "boolean") {
|
} else if (value === "boolean") {
|
||||||
result = false;
|
result = false;
|
||||||
@@ -768,6 +786,7 @@ var SwaggerOperation = function(nickname, path, method, parameters, summary, not
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
param.defaultValue = parameterMacro(param.defaultValue);
|
||||||
}
|
}
|
||||||
this.resource[this.nickname] = function(args, callback, error) {
|
this.resource[this.nickname] = function(args, callback, error) {
|
||||||
return _this["do"](args, callback, error);
|
return _this["do"](args, callback, error);
|
||||||
@@ -1218,7 +1237,7 @@ SwaggerRequest.prototype.setHeaders = function(params, operation) {
|
|||||||
// if there's a body, need to set the accepts header via requestContentType
|
// if there's a body, need to set the accepts header via requestContentType
|
||||||
if (body && (this.type === "POST" || this.type === "PUT" || this.type === "PATCH" || this.type === "DELETE")) {
|
if (body && (this.type === "POST" || this.type === "PUT" || this.type === "PATCH" || this.type === "DELETE")) {
|
||||||
if (this.opts.requestContentType)
|
if (this.opts.requestContentType)
|
||||||
accepts = this.opts.requestContentType;
|
consumes = this.opts.requestContentType;
|
||||||
} else {
|
} else {
|
||||||
// if any form params, content type must be set
|
// if any form params, content type must be set
|
||||||
if(definedFormParams.length > 0) {
|
if(definedFormParams.length > 0) {
|
||||||
@@ -1227,7 +1246,7 @@ SwaggerRequest.prototype.setHeaders = function(params, operation) {
|
|||||||
else
|
else
|
||||||
consumes = "application/x-www-form-urlencoded";
|
consumes = "application/x-www-form-urlencoded";
|
||||||
}
|
}
|
||||||
else if (this.type == "DELETE")
|
else if (this.type === "DELETE")
|
||||||
body = "{}";
|
body = "{}";
|
||||||
else if (this.type != "DELETE")
|
else if (this.type != "DELETE")
|
||||||
accepts = null;
|
accepts = null;
|
||||||
@@ -1461,11 +1480,36 @@ ShredHttpClient.prototype.execute = function(obj) {
|
|||||||
return out;
|
return out;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Transform an error into a usable response-like object
|
||||||
|
var transformError = function(error) {
|
||||||
|
var out = {
|
||||||
|
// Default to a status of 0 - The client will treat this as a generic permissions sort of error
|
||||||
|
status: 0,
|
||||||
|
data: error.message || error
|
||||||
|
};
|
||||||
|
|
||||||
|
if(error.code) {
|
||||||
|
out.obj = error;
|
||||||
|
|
||||||
|
if(error.code === 'ENOTFOUND' || error.code === 'ECONNREFUSED' ) {
|
||||||
|
// We can tell the client that this should be treated as a missing resource and not as a permissions thing
|
||||||
|
out.status = 404;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return out;
|
||||||
|
};
|
||||||
|
|
||||||
res = {
|
res = {
|
||||||
error: function(response) {
|
error: function(response) {
|
||||||
if (obj)
|
if (obj)
|
||||||
return cb.error(transform(response));
|
return cb.error(transform(response));
|
||||||
},
|
},
|
||||||
|
// Catch the Shred error raised when the request errors as it is made (i.e. No Response is coming)
|
||||||
|
request_error: function(err) {
|
||||||
|
if(obj)
|
||||||
|
return cb.error(transformError(err));
|
||||||
|
},
|
||||||
redirect: function(response) {
|
redirect: function(response) {
|
||||||
if (obj)
|
if (obj)
|
||||||
return cb.redirect(transform(response));
|
return cb.redirect(transform(response));
|
||||||
@@ -1533,10 +1577,11 @@ SwaggerAuthorizations.prototype.apply = function(obj, authorizations) {
|
|||||||
/**
|
/**
|
||||||
* ApiKeyAuthorization allows a query param or header to be injected
|
* ApiKeyAuthorization allows a query param or header to be injected
|
||||||
*/
|
*/
|
||||||
var ApiKeyAuthorization = function(name, value, type) {
|
var ApiKeyAuthorization = function(name, value, type, delimiter) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.value = value;
|
this.value = value;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
this.delimiter = delimiter;
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiKeyAuthorization.prototype.apply = function(obj, authorizations) {
|
ApiKeyAuthorization.prototype.apply = function(obj, authorizations) {
|
||||||
@@ -1547,6 +1592,11 @@ ApiKeyAuthorization.prototype.apply = function(obj, authorizations) {
|
|||||||
obj.url = obj.url + "?" + this.name + "=" + this.value;
|
obj.url = obj.url + "?" + this.name + "=" + this.value;
|
||||||
return true;
|
return true;
|
||||||
} else if (this.type === "header") {
|
} else if (this.type === "header") {
|
||||||
|
if(typeof obj.headers[this.name] !== 'undefined') {
|
||||||
|
if(typeof this.delimiter !== 'undefined')
|
||||||
|
obj.headers[this.name] = obj.headers[this.name] + this.delimiter + this.value;
|
||||||
|
}
|
||||||
|
else
|
||||||
obj.headers[this.name] = this.value;
|
obj.headers[this.name] = this.value;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "swagger-ui",
|
"name": "swagger-ui",
|
||||||
"version": "2.0.22",
|
"version": "2.0.24",
|
||||||
"description": "Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
|
"description": "Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "PATH=$PATH:./node_modules/.bin cake dist",
|
"build": "PATH=$PATH:./node_modules/.bin cake dist",
|
||||||
|
|||||||
Reference in New Issue
Block a user