Commit Graph

23 Commits

Author SHA1 Message Date
Brock Anderson
5da72aaa4d changes to prevent the parameter description column from expanding (e.g. due to very long words in the content that cannot wrap). the new behaviour is that the long content just spills into the adjacent column. 2017-02-17 16:23:20 -08:00
Anna Bodnia
11f1263a62 fix for xss issue 2016-08-17 20:55:23 +03: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
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
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
laurent lepinay
447b905132 JSONEditor enable/disable flag 2015-03-12 07:12:07 -07:00
laurent lepinay
eb390ffca2 JSON Editor feature 2015-03-09 07:06:24 -07:00
Tony Tam
038443fc22 merged from develop_2.0 2015-02-01 02:27:43 -08:00
Tony Tam
5823358e73 fix for #626, added support for (default || defaultValue) 2014-09-29 22:35:30 -07:00
Tony Tam
2de104aac9 updated templates to support file as body or form params 2014-08-01 17:13:56 -07:00
Tony Tam
df20d2bd5e fix for #263 2013-07-17 16:02:47 -07:00
Tony Tam
09be20c97d merged with swagger.js-2.0-develop 2013-07-07 00:53:30 -07:00
Ian Forsey
c1efde5e5b Add new column to display the paramType 2013-05-24 17:09:57 +01:00
Pepijn de Geus
d205753044 UI improvements for parameters (input and read-only) and model description.
Uses changes to swagger.js (swagger-client).
2013-02-27 17:01:25 +01:00
Tony Tam
d1bffc8fb4 manual merge of #97 2012-11-25 21:52:30 -08:00
Ayush Gupta
3dca74c08f closes #84 2012-11-16 12:01:30 +05:30
Ayush Gupta
2bfa39295a merged pull request #42 from @tim-vandecasteele 2012-11-15 11:01:28 +05:30
Alberto Pose
9687a8084f Adding 'snippet' tab to parameter datatype signature UI
This new section displays how a complex datatype should look like providing some sample code for the developer using Swagger.
2012-11-14 17:33:51 -03:00
Ayush Gupta
b743c0f3db closes #35 2012-11-06 11:03:38 +05:30
Rintcius Blok
ed7bf75e9a allow html in summary, notes and description
Conflicts:

	src/main/template/param_readonly.handlebars
	src/main/template/param_readonly_required.handlebars
2012-08-18 11:33:39 +01:00
Ayush Gupta
f2e63c65a7 support for non GET methods. Closes #15 2012-07-17 18:31:38 -07:00
Ayush Gupta
f42a3bf687 closes #34 2012-07-17 12:23:23 -07:00
Tony Tam
d2eb882e52 updated to v2 2012-07-11 09:57:27 -07:00