updated readme, resource to remove url if not present
This commit is contained in:
10
README.md
10
README.md
@@ -14,6 +14,16 @@ The goal of Swagger™ is to define a standard, language-agnostic interface to R
|
|||||||
Check out [Swagger-Spec](https://github.com/wordnik/swagger-spec) for additional information about the Swagger project, including additional libraries with support for other languages and more.
|
Check out [Swagger-Spec](https://github.com/wordnik/swagger-spec) for additional information about the Swagger project, including additional libraries with support for other languages and more.
|
||||||
|
|
||||||
|
|
||||||
|
## Compatability
|
||||||
|
The Swagger Specification has undergone 3 revisions since initial creation in 2010
|
||||||
|
|
||||||
|
Swagger UI Version | Release Date | Swagger Spec compatability | Notes
|
||||||
|
------------------ | ------------ | -------------------------- | -----
|
||||||
|
_2.0.25 (develop)_ | n/a | 1,1, 1,2, 2.0 | branch develop_2.0
|
||||||
|
2.0.24 | 2014-09-12 | 1.1, 1.2 | tag v2.0.24
|
||||||
|
1.0.13 | 2013-03-08 | 1.1, 1.2 | tag v1.0.13
|
||||||
|
1.0.1 | 2011-10-11 | 1.0, 1.1 | tag v1.0.1
|
||||||
|
|
||||||
## How to Use It
|
## How to Use It
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
|
|||||||
21
dist/swagger-ui.js
vendored
21
dist/swagger-ui.js
vendored
@@ -1073,6 +1073,17 @@ function program1(depth0,data) {
|
|||||||
return " : ";
|
return " : ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function program3(depth0,data) {
|
||||||
|
|
||||||
|
var buffer = "", stack1;
|
||||||
|
buffer += "<a href='";
|
||||||
|
if (stack1 = helpers.url) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
||||||
|
else { stack1 = depth0.url; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
||||||
|
buffer += escapeExpression(stack1)
|
||||||
|
+ "'>Raw</a>";
|
||||||
|
return buffer;
|
||||||
|
}
|
||||||
|
|
||||||
buffer += "<div class='heading'>\n <h2>\n <a href='#!/";
|
buffer += "<div class='heading'>\n <h2>\n <a href='#!/";
|
||||||
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
||||||
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
||||||
@@ -1114,11 +1125,13 @@ function program1(depth0,data) {
|
|||||||
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
||||||
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
||||||
buffer += escapeExpression(stack1)
|
buffer += escapeExpression(stack1)
|
||||||
+ "'); return false;\">\n Expand Operations\n </a>\n </li>\n <li>\n <a href='";
|
+ "'); return false;\">\n Expand Operations\n </a>\n </li>\n <li>\n ";
|
||||||
if (stack1 = helpers.url) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
options = {hash:{},inverse:self.noop,fn:self.program(3, program3, data),data:data};
|
||||||
|
if (stack1 = helpers.url) { stack1 = stack1.call(depth0, options); }
|
||||||
else { stack1 = depth0.url; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
else { stack1 = depth0.url; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
||||||
buffer += escapeExpression(stack1)
|
if (!helpers.url) { stack1 = blockHelperMissing.call(depth0, stack1, options); }
|
||||||
+ "'>Raw</a>\n </li>\n </ul>\n</div>\n<ul class='endpoints' id='";
|
if(stack1 || stack1 === 0) { buffer += stack1; }
|
||||||
|
buffer += "\n </li>\n </ul>\n</div>\n<ul class='endpoints' id='";
|
||||||
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
||||||
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
||||||
buffer += escapeExpression(stack1)
|
buffer += escapeExpression(stack1)
|
||||||
|
|||||||
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
@@ -18,7 +18,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href='{{url}}'>Raw</a>
|
{{#url}}<a href='{{url}}'>Raw</a>{{/url}}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user