Commit Graph

82 Commits

Author SHA1 Message Date
Tony Tam
b4022837fb merged 2016-01-29 16:14:33 -08:00
Anna Bodnia
01a534e54d #1918 Fixed XML response rendering indentation algorithm problem 2016-01-29 17:59:31 +02:00
Anna Bodnia
aa7ec97b07 Fixed issue with json sample display in parameter view 2016-01-29 16:57:24 +02:00
Anna Bodnia
4f4cddd491 #1911 Fixed Missing model name in response section 2016-01-25 18:53:50 +02:00
Tony Tam
48ad6793f7 removed per #1906 2016-01-22 16:30:00 -08:00
Tony Tam
aee1327a3d merged, removed preventDefault 2016-01-22 16:28:01 -08:00
bodnia
95a45bb116 #1904 fixed New tab opens when you expand operation by clicking on it's url #1904 2016-01-22 00:23:49 +02:00
Tony Tam
1aaead6c82 merged 2016-01-21 10:06:14 -05:00
Anna Bodnia
ba9a4237d5 #1248 Fixed display of date time format in response headers 2016-01-21 11:58:55 +02:00
Tony Tam
d3686c9dbd rebuilt 2016-01-20 08:57:44 -05:00
Anna Bodnia
4600a53cd0 #1248 fixed When toggling the JSON / XML field, the definitions in the Response Messages section disappear on XML 2016-01-20 14:05:37 +02:00
Tony Tam
39877cbd0e merged 2016-01-19 22:14:42 -05:00
Anna Bodnia
eefa1c8a54 #1248 Implemented between example XML/JSON by drop-down with type 2016-01-19 17:47:57 +02:00
Anna Bodnia
7379112211 #1248 createXMLSample show XML example for success response 2016-01-15 16:02:41 +02:00
joev
331d2be070 Escape curl command to fix XSS vulnerability. 2016-01-12 23:31:59 -06:00
Anna Bodnia
e904ca1729 Renamed SwaggerUi.partials.signature 2016-01-11 17:11:37 +02:00
Anna Bodnia
ba5b89a0cf #1248 moved render of parameter model to swagger-ui 2016-01-06 15:38:13 +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
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
daf150de34 fixes #1807 2015-12-09 20:14:41 -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
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
8276fbf073 fixes #1767 2015-11-27 17:28:46 -08: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
safin
16cfce4c20 fix for angular apps, when you dont have proper route and clicking on header leads to 'othewise' branch of router 2015-09-16 18:48:53 +03:00
unknown
ea2cefa46e Merge branch 'JSONEditor' into JSONEditorMaster
Conflicts:
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	src/main/less/screen.less
2015-09-10 10:53:15 +02:00
Aaron Baker
ed41c336a3 Issue #1423: responses containing references to definitions were not being fully resolved when the spec was pulled in over AJAX but was working locally. OperationView.render()'s parsing of the responses was just checking if the ref _started_ with '#/definitions/', not whether it contained it, and when pulled in over AJAX the refs have the URL prepended to them 2015-08-05 12:48:34 +01:00
Tony Tam
29dc4b929d Merge pull request #1387 from brownstein/fix-oauth-toggle-on-operations
Fix incorrect display of oAuth toggle in non-oAuth operation views
2015-07-22 17:59:55 -07:00
Laurent Lepinay
d968fda207 Merge remote-tracking branch 'swagger/develop_2.0' into JSONEditorMerge
Conflicts:
	dist/index.html
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	src/main/html/index.html
	src/main/template/param.handlebars
	src/main/template/param_required.handlebars
2015-07-07 15:31:21 +02:00
Robert Brownstein
128fc5c112 Found a bug in OperationView.js which caused the oAuth toggle to be displayed for non-oAuth endpoints if oAuth was enabled at all, fixed it 2015-06-19 13:37:54 -04:00
Vladimir L
eaaf62a01e removed unnesessary logic, replaced by CSS style 2015-06-11 21:26:30 +02:00
Vladimir L
695dcc16b1 fixed issue with OAuth hint 2015-06-11 21:21:37 +02:00
Tony Tam
c7e07705f2 removed logging 2015-06-06 08:22:40 -07:00
Tony Tam
9ba75c02be fix for lint errors 2015-06-03 23:04:57 -07:00
Tony Tam
58dadc64f8 rebuilt 2015-06-03 22:45:26 -07:00
Tony Tam
62afd58210 merged 2015-06-03 22:36:46 -07:00
Tony Tam
fc6ad9977c merged 2015-06-03 22:16:43 -07:00
Shawn Gong
1ef90c4240 rewrote into source files, generate using gulp 2015-06-02 10:11:00 -04: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
Nara Kasbergen
6ce834cfa9 fixes #693 2015-05-14 18:13:31 -04:00