Commit Graph

2085 Commits

Author SHA1 Message Date
Laurent Lepinay
dd5fab0b20 expand collapse buttons 2015-05-18 15:34:35 +02:00
Laurent Lepinay
f16c265087 disabled edit json button 2015-05-18 14:26:55 +02:00
Laurent Lepinay
512e78c6aa disabled edit properties button 2015-05-18 14:24:41 +02:00
Vitaliy Kanev
88838213c8 remove fileupload function 2015-05-16 15:47:45 +03:00
Vitaliy Kanev
9688af989e fixed: REFACTOR handleFileUpload 2015-05-16 15:42:50 +03:00
Joe Wolf
488611a4ff 508 Fixes
Addresses #1021 mostly by adding label tags, generating unique element
ids as needed.

In the process, moved the label text that gets set in the
___ContentTypeView.js files to the respective handlebar templates; the
text was static as far as I could tell.

There are additional minor 508 improvements that can be made with the
tables (scope tags, header attributes)
2015-05-15 11:16:50 -04:00
Nara Kasbergen
6ce834cfa9 fixes #693 2015-05-14 18:13:31 -04:00
Nara Kasbergen
59f53a96c1 fixes #958 2015-05-14 17:14:03 -04:00
Nara Kasbergen
37d29df074 Add support for GFM syntax in model (schema) descriptions -- relies on one small change to swagger-client 2015-05-14 15:36:23 -04:00
Tony Tam
d5c79f84f6 added authorizations 2015-05-14 08:56:42 -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
Nara Kasbergen
41eb5237ef Fixes #1268 2015-05-13 16:26:11 -04:00
Nara Kasbergen
9923b3cf8a Use the correct new sorting parameter name 2015-05-13 11:47:25 -04:00
Matthias Le Brun
082dc476e6 fixed MainView for ES5 browser.
calling ES6 String.prototype.startWith doesn't work in all browsers
yet.
2015-05-13 14:41:08 +02:00
Tony Tam
95bf95e91f fix for #1257 2015-05-10 17:59:25 -07:00
Tony Tam
261e1894e0 set highlight threshold per #1184 2015-05-08 14:45:19 -07:00
Tony Tam
97ed093e6e Merge pull request #1239 from ponelat/develop_2.0
fixes #1205, remove dead line
2015-05-08 13:29:02 -07:00
Tony Tam
a02cea119d merged #1238 2015-05-08 13:28:12 -07:00
Tony Tam
8661a0f2f6 Merge pull request #1225 from ponelat/fix/1194
fix oauth switch
2015-05-08 12:52:05 -07:00
Tony Tam
4f3116930b merged 2015-05-08 12:50:45 -07:00
Tony Tam
99bec82087 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-ui into develop_2.0 2015-05-08 12:45:12 -07:00
Tony Tam
b1efe883db merged logic from #1177 2015-05-08 12:45:00 -07:00
Tony Tam
17dca9e256 Merge pull request #1173 from BjRo/handle_whitespace_in_response
Prevent the OperationView to display an error in case the response contains a whitespace only body with content type application/json
2015-05-08 12:30:01 -07:00
Tony Tam
cdd80820cf fix for #1253 2015-05-08 12:23:18 -07:00
Tony Tam
9c58ed7018 Merge branch 'multi-value-params' of ssh://github.com/valdemon/swagger-ui into valdemon-multi-value-params 2015-05-08 12:10:01 -07:00
Tony Tam
1696a1ba34 added fix from outdated PR #1122 2015-05-08 12:06:56 -07:00
Tony Tam
ba855e3d04 Merge pull request #1112 from 3scale/op-execute
Pass swagger options to swagger-js Operation#execute method
2015-05-08 12:03:56 -07:00
Tony Tam
6d5f6de537 Fix for #1252, check for http protocol before setting validator url 2015-05-08 12:02:30 -07:00
Tony Tam
ccfc4aa4ba manually added #1086, #1089 2015-05-08 12:01:06 -07:00
Josh Ponelat
37f4850ce2 fixes #1205, remove dead line 2015-05-05 19:36:23 +02:00
Josh Ponelat
ec86ee2df9 uncomment swagger-oauth and add script 2015-04-29 12:41:08 +02:00
Josh Ponelat
f4b2c49eb5 fix #1191, forgot to put returns on handlebar helper 2015-04-22 09:00:50 +02:00
Laurent Lepinay
78c7dda0a9 fixed jshint issues 2015-04-20 10:32:33 +02:00
Laurent Lepinay
f3ee0a436c Merge remote-tracking branch 'upstream/develop_2.0' into JSONEditor
Conflicts:
	dist/swagger-ui.js
	dist/swagger-ui.min.js
2015-04-20 10:16:54 +02:00
mgttlinger
29b9f48e5c Fix for #1113 2015-04-17 15:49:03 +02:00
Tony Tam
843e86b5cc merged with master 2015-04-16 12:29:26 -07:00
Björn Rochel
569830b4ac Use jQuery for trimming 2015-04-16 20:37:19 +02:00
Bjoern Rochel
6a1707e3ba Prevent the OperationView to display an error in case the response contains a whitespace only body with content type application/json 2015-04-16 11:59:27 +02:00
Tony Tam
f9fdb05fbe Merge pull request #1170 from swagger-api/apikeyfix
Add API Key auth in onComplete callback of SwaggerUI#load call
2015-04-15 14:48:05 -07:00
Mohsen Azimi
b579783ba0 Add API Key auth in onComplete callback of SwaggerUI#load call 2015-04-15 14:46:32 -07:00
Tony Tam
3441403fda Merge branch 'develop_2.0' into fix-1109 2015-04-15 12:26:25 -07:00
Mohsen Azimi
e6664851b3 Support plain text in response
Fixes #1109
Fixes #1111
2015-04-15 12:05:48 -07:00
Tony Tam
6f8533bdc2 Merge branch 'develop_2.0' into fix-1132 2015-04-15 12:00:28 -07:00
Mohsen Azimi
53966f7aa8 Fix issue #1132 "JS error when testing uploadFile method (http://petstore.swagger.io/#!/pet/uploadFile)" 2015-04-14 14:01:38 -07:00
Mohsen Azimi
a7d708593c Fix issue #1160 "piKey is not set when Explore button is clicked " 2015-04-14 13:30:55 -07:00
shuisman
e127bf3577 Update default validator with correct protocol
Current code defaults to http protocol, but when package is installed in a https environment, the default validator should be securely available.
2015-04-07 18:37:02 +02:00
laurent lepinay
801acf07e3 Merge remote-tracking branch 'SwaggerOfficial/develop_2.0' into JSONEditor
Conflicts:
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	package.json
2015-04-07 05:20:02 -07:00
Waldek Kozba
ad56131a6d Corrected for Travis build. 2015-04-03 19:02:19 +00:00
Waldek Kozba
af39ae0603 Multiple values for array type parameters as separated lines in the textarea.
Improved required parameter handling for the array type.
Improved default value handling for the array type.
2015-04-03 14:31:23 +00:00