Commit Graph

223 Commits

Author SHA1 Message Date
Anna Bodnia
f07d78de97 Added https://github.com/swagger-api/swagger-js/pull/690/commits from swagger-js 2016-01-18 18:24:53 +02:00
Anna Bodnia
f68420051f #1248 createXMLSample Added handling readyOnly params 2016-01-18 13:50:21 +02:00
Anna Bodnia
add91792fb #1248 createXMLSample refactoring 2016-01-18 13:25:02 +02:00
Anna Bodnia
454917a2ba #1248 createXMLSample prettified xml display 2016-01-15 17:23:34 +02:00
Anna Bodnia
7379112211 #1248 createXMLSample show XML example for success response 2016-01-15 16:02:41 +02:00
Anna Bodnia
ea688851f9 #1248 createXMLSample show XML example for parameter 2016-01-15 15:29:37 +02:00
Anna Bodnia
4443883546 #1248 createXMLSample added error message 2016-01-15 12:35:11 +02:00
Anna Bodnia
14df0151ef #1248 createXMLSample added comments what was copy-pasted from swagger-js 2016-01-14 20:55:20 +02:00
Anna Bodnia
c1f4814281 #1248 createXMLSample added message about additional properties 2016-01-14 20:53:30 +02:00
Anna Bodnia
9543ea4671 #1248 createXMLSample moved creating primitive xml into separate function 2016-01-14 19:16:10 +02:00
Anna Bodnia
1c555c00b8 #1248 createXMLSample added XML display for Model in definitions 2016-01-14 17:41:50 +02:00
Tony Tam
5ebbf7d742 merged 2016-01-13 09:49:59 -08:00
Anna Bodnia
8917a9bf76 #1248 createXMLSample added object xml representation 2016-01-13 17:13:42 +02:00
S. Bozhko
0e107c0b56 Do not validate if model url equals '127.0.0.1' 2016-01-13 15:50:04 +03:00
Anna Bodnia
aa86bb5fe7 #1248 createXMLSample added array 2016-01-13 12:30:12 +02:00
joev
331d2be070 Escape curl command to fix XSS vulnerability. 2016-01-12 23:31:59 -06:00
Anna Bodnia
b3ddef2965 #1248 createXMLSample added namespace display 2016-01-12 19:33:00 +02:00
Anna Bodnia
4b0b385102 #1248 createXMLSample made separate function for tagname 2016-01-12 17:14:43 +02:00
Anna Bodnia
b104272ae9 #1248 createXMLSample added getSampleDate method 2016-01-12 15:40:55 +02:00
Anna Bodnia
73feed4ca2 #1248 createXMLSample handle prefix and names in xml 2016-01-12 15:26:59 +02:00
Anna Bodnia
7a8f7016c2 #1248 createXMLSample create xml sample for primitive 2016-01-12 14:06:54 +02:00
Anna Bodnia
e904ca1729 Renamed SwaggerUi.partials.signature 2016-01-11 17:11:37 +02:00
Anna Bodnia
4205cb83b0 #1248 moved render of parameter model to swagger-ui 2016-01-06 15:50:40 +02:00
Anna Bodnia
ba5b89a0cf #1248 moved render of parameter model to swagger-ui 2016-01-06 15:38:13 +02:00
Anna Bodnia
2fdd02258c #1248 added partial 2016-01-05 13:51:24 +02:00
Anna Bodnia
3426cc8c13 #1248 moved model rendering into separate partial 2016-01-05 13:50:30 +02:00
Anna Bodnia
3dd4315bb8 #1248 Added schema render from swagger-js to swagger-ui 2016-01-04 20:23:37 +02:00
Anna Bodnia
2b377bfa9e Response headers not being displayed for either 200 or other responses #1117 2015-12-31 18:39:45 +02:00
Rodion
63951d0bf8 check 'defaultValue' before calling 'replace'
fix error "defaultValue.replace is not a function" when defaultValue is Integer
2015-12-17 20:14:09 +03:00
Laurent Lepinay
2c431d7873 Merge remote-tracking branch 'upstream/master' into JSONEditorMaster
Conflicts:
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	src/main/javascript/view/OperationView.js
	src/main/less/screen.less
2015-12-16 10:25:38 +01:00
Tony Tam
c578a530af formatting 2015-12-09 20:35:44 -08:00
Tony Tam
daf150de34 fixes #1807 2015-12-09 20:14:41 -08:00
Tony Tam
1945404efe Merge pull request #1530 from yyamano/fix-xss
Fix a XSS issue.
2015-12-09 15:15:16 -08:00
Tony Tam
bfa98a88ba removed unused var 2015-12-09 13:52:37 -08:00
Tony Tam
644da49077 added success response per #1476 2015-12-09 13:49:04 -08:00
Tony Tam
8ee29c743a fix for #1453, escaped apostrophe 2015-12-09 12:45:43 -08:00
Sean Kennedy
1ccab589f8 implement option to control whether models are displayed as valid JSON schema or the docs rendering (with descriptions) by default 2015-11-30 08:26:30 -05:00
Tony Tam
3cb9f1f797 merged 2015-11-27 18:09:41 -08:00
Tony Tam
8276fbf073 fixes #1767 2015-11-27 17:28:46 -08:00
Ferdinand Prantl
7489c0b566 Merge branch 'master' into fix-fields-basic-auth 2015-11-22 14:44:18 +01:00
Ferdinand Prantl
d7e998ede7 Fix an unwanted page reload when entering username and password in the basic authentication form
Prevent the default hyperlink action.
2015-11-21 15:29:12 +01:00
Ferdinand Prantl
2274e0cef6 Fix reading values of username and password from the basic authwntication form
Wrong selectors were used.
2015-11-21 15:28:06 +01:00
Brenton McSweyn
0665ee8557 Fixes an undefined error when type is defined in the schema 2015-11-20 08:47:27 +02:00
Laurent Lepinay
51b7b1db39 Merge remote-tracking branch 'upstream/master' into JSONEditorMaster
Conflicts:
	dist/swagger-ui.js
	dist/swagger-ui.min.js
2015-11-13 13:42:46 +01:00
Tony Tam
13314c1645 Merge pull request #1709 from cupgit/fix_double_curl
Only add 'curlCommand' if the 'curl' class is used on a div
2015-11-06 08:47:21 -08:00
Tony Tam
5aeb23d63e added map to address https://github.com/swagger-api/swagger-js/issues/619 2015-11-04 12:52:13 -08:00
Michel Cupurdija
24649aa848 Only add 'curlCommand' if the 'curl' class is used on a div 2015-10-27 16:52:34 +01:00
Laurent Lepinay
c269dbd9ed don't override title and type if they are already defined 2015-10-05 13:36:52 +02:00
Laurent Lepinay
50a9fc8d79 dont check the post body text area for as a required field when it's not visible (fro example when using the jsoneditor) 2015-09-24 11:43:26 +02:00
Laurent Lepinay
1367e8f6fa Merge remote-tracking branch 'upstream/master' into JSONEditorMaster
Conflicts:
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	test/e2e/v2.js
2015-09-21 14:48:29 +02:00