Compare commits

...
10 Commits
Author SHA1 Message Date
Tony Tam 198dd641b4 Merge pull request #1285 from swagger-api/develop_2.0
Merged from develop_2.0
2015-05-14 09:00:23 -04:00
Tony Tam b5039b28b0 rebuilt 2015-05-14 08:56:49 -04:00
Tony Tam d5c79f84f6 added authorizations 2015-05-14 08:56:42 -04:00
Tony Tam eb70c736df Merge pull request #1282 from nprdm/develop_2.0
Fixes #1233
2015-05-13 17:41:34 -04:00
Nara Kasbergen 831a7ae604 Just realized this adds some extra horizontal padding which may not be desirable, so this fixes that 2015-05-13 17:31:47 -04:00
Nara Kasbergen c2dee786e4 Fixes #1233 2015-05-13 16:39:01 -04:00
Tony Tam 688244f190 Merge pull request #1281 from nprdm/develop_2.0
Fixes #1268
2015-05-13 16:31:24 -04:00
Nara Kasbergen 41eb5237ef Fixes #1268 2015-05-13 16:26:11 -04:00
Tony Tam 693b4d97ed Merge pull request #1280 from nprdm/develop_2.0
Use the correct new sorting parameter name
2015-05-13 14:53:33 -04:00
Nara Kasbergen 9923b3cf8a Use the correct new sorting parameter name 2015-05-13 11:47:25 -04:00
14 changed files with 145 additions and 66 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "swagger-ui",
"main": "dist/index.html",
"version": "2.1.4-M2",
"version": "2.1.5-M2",
"authors": [
"Mohsen Azimi <me@azimi.me>"
],
+3
View File
@@ -1069,6 +1069,9 @@
.swagger-section .swagger-ui-wrap form.form_box p strong {
color: black;
}
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
padding-bottom: 0;
}
.swagger-section .title {
font-style: bold;
}
+3
View File
@@ -1069,6 +1069,9 @@
.swagger-section .swagger-ui-wrap form.form_box p strong {
color: black;
}
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
padding-bottom: 0;
}
.swagger-section .title {
font-style: bold;
}
+1 -1
View File
@@ -52,7 +52,7 @@
log("Unable to Load SwaggerUI");
},
docExpansion: "none",
sorter : "alpha"
apisSorter: "alpha"
});
function addApiKeyAuthorization(){
+111 -48
View File
File diff suppressed because one or more lines are too long
+8 -10
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -8,7 +8,7 @@
}
],
"description": "Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
"version": "2.1.4-M2",
"version": "2.1.5-M2",
"homepage": "http://swagger.io",
"license": "Apache 2.0",
"main": "dist/swagger-ui.js",
@@ -50,6 +50,6 @@
"less": "^2.4.0",
"mocha": "^2.1.0",
"selenium-webdriver": "^2.45.0",
"swagger-client": "2.1.5-M2"
"swagger-client": "2.1.6-M2"
}
}
+3
View File
@@ -1069,6 +1069,9 @@
.swagger-section .swagger-ui-wrap form.form_box p strong {
color: black;
}
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
padding-bottom: 0;
}
.swagger-section .title {
font-style: bold;
}
+3
View File
@@ -1069,6 +1069,9 @@
.swagger-section .swagger-ui-wrap form.form_box p strong {
color: black;
}
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
padding-bottom: 0;
}
.swagger-section .title {
font-style: bold;
}
+1 -1
View File
@@ -52,7 +52,7 @@
log("Unable to Load SwaggerUI");
},
docExpansion: "none",
sorter : "alpha"
apisSorter: "alpha"
});
function addApiKeyAuthorization(){
+3 -1
View File
@@ -90,7 +90,9 @@ window.SwaggerUi = Backbone.Router.extend({
if (url && url.indexOf('http') !== 0) {
url = this.buildUrl(window.location.href.toString(), url);
}
if(this.api) {
this.options.authorizations = this.api.clientAuthorizations;
}
this.options.url = url;
this.headerView.update(url);
+4
View File
@@ -1085,6 +1085,10 @@
}
}
}
.operation-status td.markdown > p:last-child {
padding-bottom: 0;
}
}
}
+1 -1
View File
@@ -24,6 +24,6 @@
{{/each}}
</select>
</td>
<td class="markdown">{{{description}}}</td>
<td class="markdown">{{#if required}}<strong>{{/if}}{{{description}}}{{#if required}}</strong>{{/if}}</td>
<td>{{{paramType}}}</td>
<td><span class="model-signature"></span></td>
+1 -1
View File
@@ -1,5 +1,5 @@
<td width='15%' class='code'>{{code}}</td>
<td>{{{message}}}</td>
<td class="markdown">{{{message}}}</td>
<td width='50%'><span class="model-signature" /></td>
<td class="headers">
<table>