Commit Graph
294 Commits
Author SHA1 Message Date
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
Damiano Albani 1128187b5b Fix calculation of operation "number" property 2015-10-09 15:55:32 +02:00
Damiano Albani a201d18dc2 Simplify online validator URL building (HTTP[S]?)
Explanation: http://stackoverflow.com/questions/9646407/two-forward-slashes-in-a-url-src-href-attribute/9646435#9646435
2015-10-08 09:46:54 +02: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 504095e10e regression bug fix 2015-09-16 10:44:57 +02: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
Gareth Kirwan 4288506957 Fix $ref strings treated as objects by JSONEditor 2015-09-08 15:47:42 +01:00
Yuji Yamano 8bed8b665d Fix a XSS issue. 2015-08-12 02:48:52 +00: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 996433d8bc merged 2015-07-22 18:14:18 -07:00
Tony Tam 958e74875f Merge pull request #1427 from lucian303/fix-validator-https-detection
Fix validator's https detection
2015-07-22 18:13:20 -07:00
Tony Tam b909e2adda merged 2015-07-22 18:05:52 -07:00
Tony Tam f1a7b2cea8 Merge pull request #1395 from praseetht/master
Fix #1394: A bug in IE 10/11 causes the placeholder text to be copied to value
2015-07-22 18:03:32 -07: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
Tony Tam e05afd8a4b Merge pull request #1375 from ponelat/fix/translator
Fix/translator
2015-07-22 17:59:24 -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
Taras Katkov a04b562f55 Spelling and closing tag fixes 2015-07-01 17:55:19 -04:00
Lucian Hontau 52aaf874d8 Fix value for window.location.protocol. 2015-06-26 16:26:38 -04:00
aurelian 554302f49d ignore case. 2015-06-22 16:26:32 +02:00
aurelian e475bb908e X-data-* vendor extension for parameter objects
Exposes X-data- as html data attributes for parameter objects

See comment in #991
2015-06-22 14:48:21 +02:00
Praseeth T 6d4bc72a64 Fix #1394: A bug in IE 10/11 causes the placeholder text to be copied to "value" 2015-06-21 11:37:29 +05:30
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
Josh Ponelat 372723b82d add data-sw-translate to templates 2015-06-16 12:06:49 +02: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
Jeremy Whitlock a4124fba7c Update swagger-ui to reuse client authorizations properly
Fixes #472
2015-06-05 17:45:14 -06:00
Josh Ponelat dfab1df1e9 remove dead code: show-wordnik-dev 2015-06-05 10:56:39 +02:00
Josh Ponelat a126c17841 fixed support for default values in param_list 2015-06-04 08:53:12 +02:00
Tony Tam 9ba75c02be fix for lint errors 2015-06-03 23:04:57 -07:00
Tony Tam 9e9ca13850 merged 2015-06-03 22:47:39 -07:00
Tony Tam 58dadc64f8 rebuilt 2015-06-03 22:45:26 -07:00