Commit Graph
52 Commits
Author SHA1 Message Date
Joyce Stack 5418738956 fixed id construction in toggleOperationContent 2014-03-05 10:08:23 +00:00
Tony Tam dc7b663239 updated files 2014-02-27 23:35:36 -08:00
Tony Tam b8943665a2 updated client to 2.0.13 2014-02-12 07:37:41 -08:00
Tony Tam c22d94b940 updated swagger-js client, support for IE8 2014-01-23 20:40:10 -08:00
Michael Iles eea0d72a85 Added support for pretty-printing responses for media types with
extended subtypes. For example the media type
'application/vnd.myresource+json; version=1.2' will be correctly
recognized as JSON and pretty-printed. Conforms to RFC 6838, 6839.
2014-01-19 14:46:55 -05:00
Bryan Matsuo fc0ccd4486 restrict uploaded file inputs to those in the form being submitted 2013-12-20 17:17:06 -08:00
Tony Tam 34bd474bff fix for #288 2013-11-29 22:07:37 -08:00
Tony Tam 2bddfb688a Merge pull request #327 from georgeOsdDev/master
Add image contents type resopnse handler
2013-11-04 09:57:57 -08:00
Takeharu Oshida 846628f1f3 Match all image types 2013-10-08 16:44:28 +09:00
Takeharu Oshida 355380a5c4 Add image contents type resopnse handler 2013-10-08 14:30:48 +09:00
Pavel Puchkarev 6db63006a6 fixing request_url updates for all operations in one resource 2013-10-07 18:14:58 -04:00
Tony Tam abc3600994 Merge pull request #295 from tomrac87/hal_json
Proper formatting for "application/hal+json" Content-Type
2013-09-24 06:38:16 -07:00
Tony Tam 999367589d fix for #301, headers being URI encoded 2013-09-05 11:39:18 -07:00
Tony Tam 8a9eedfdf3 manual merge of #304 2013-09-05 10:16:10 -07:00
Tony Tam 73c89ba3f6 fix for #297, enabled throbber 2013-09-03 12:41:26 -07:00
tomrac87 ff05f9113b Added proper formatting for hal+json Content-Type responses in coffeescript source file 2013-09-02 10:02:26 +02:00
Tony Tam 888db09fd8 fixed enum, required flags 2013-08-14 16:49:08 -07:00
Tony Tam 205125cd9d fixes for content-type 2013-08-14 10:38:41 -07:00
Tony Tam 4b5e4e5d69 updated for 1.2 support 2013-08-12 08:28:40 -07:00
Tony Tam b2637fc4bc removed console log, updated swagger.js 2013-07-31 08:11:51 -07:00
Tony Tam df20d2bd5e fix for #263 2013-07-17 16:02:47 -07:00
Tony Tam e72dbd6bc6 fix for #261 2013-07-16 20:59:46 -07:00
Tony Tam f4d77d7124 fix for #261 2013-07-16 20:57:26 -07:00
Tony Tam 8f7e8f9ee0 updated to latest swagger-js 2013-07-08 18:38:11 -07:00
Tony Tam 09be20c97d merged with swagger.js-2.0-develop 2013-07-07 00:53:30 -07:00
Tony Tam 11b4d6d077 form data fix 2013-06-08 23:07:37 -07:00
Tony Tam dbfb1adc26 fixed file param name 2013-05-30 01:25:20 -07:00
Tony Tam 84240817e1 fix for #180 2013-04-09 11:56:05 -07:00
Tony Tam 8b1cf18daa fix for sending content-type header during GET requests 2013-04-05 13:29:14 -07:00
Tony Tam e66c08907d Merge pull request #166 from JonnyJD/simpler-cors
don't set contentType for empty body
2013-04-05 13:19:41 -07:00
Tony Tam 091c3f912b updated to support file + form params in same request 2013-04-05 08:26:14 -07:00
Johannes Dewender ae93b581d2 don't set contentType for empty body
When content-type is set to a non-standard value,
CORS requires a preflight request that needs to be handled
by the destination server.
We shouldn't require that, when no body is sent at all
and the content-type is irrelevant anyways.
2013-03-17 22:36:17 +01:00
Andreas Andreou 29b3d1dc68 toggleOperationContent to escape resource name before querying for node 2013-02-25 16:05:03 +02:00
Tony Tam 9b1bd11f2d fix for #121 2013-02-01 21:32:14 -05:00
Tony Tam 1ec55a8829 update for swagger.js#14, #138, #139 2013-01-31 20:06:34 -05:00
Tony Tam f0f6a07a61 fixed file bug for indent issue and param type check 2013-01-25 20:13:09 -08:00
Alberto Pose 12bdd38406 Adding fallback to XML when JSON response parsing fails. 2012-11-27 18:24:32 -03:00
Tony Tam d1bffc8fb4 manual merge of #97 2012-11-25 21:52:30 -08:00
Tony Tam 55f0c1a2f8 Merge pull request #95 from pose/json-response-pretty-print
Adding JSON sample UI to response
2012-11-25 21:10:52 -08:00
Alberto Pose 75ff471425 Adding operation number to create a unique href for the <a/> tag. 2012-11-22 17:45:40 -03:00
Alberto Pose dd1b2219b8 Adding JSON sample UI to response 2012-11-21 13:20:09 -03:00
Ayush Gupta cfa2006042 closes #83 2012-11-16 12:11:47 +05:30
Ayush Gupta 3dca74c08f closes #84 2012-11-16 12:01:30 +05:30
Alberto Pose fd6379140d Adding syntax highlight to JSON snippets and responses. 2012-11-15 18:13:33 -03:00
Ayush Gupta 2bfa39295a merged pull request #42 from @tim-vandecasteele 2012-11-15 11:01:28 +05:30
Alberto Pose 7e9d4692c4 Merge branch 'master' of github.com:pose/swagger-ui
Conflicts:
	lib/swagger.js
2012-11-12 20:29:41 -03:00
Alberto Pose d666d09741 Adding response status code views (swagger.js updated). 2012-11-12 20:26:24 -03:00
Артём Курапов 4ebfd081c0 Problem sending parameters via POST
Jquery seems to fail posting data as POST params if contentType is overwritten. At least in chrome
2012-10-15 14:44:48 +03:00
Arul 1429ee3eba setting content type to JSON for http PATCH
Updating OperationView.coffee to add JSON content type for PATCH 
similar to POST and PUT so that the newly added PATCH works fine
2012-10-02 01:42:48 +08:00
Ayush Gupta ded600aecd closes #38 closes #37 2012-08-28 15:58:07 +05:30