Commit Graph

129 Commits

Author SHA1 Message Date
Alberto Pose
fd6379140d Adding syntax highlight to JSON snippets and responses. 2012-11-15 18:13:33 -03:00
Alberto Pose
ab572e87be Removing console.log 2012-11-15 12:25:28 -03:00
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
086b24bb04 Merge pull request #80 from pose/master
Added table with response codes to Operation
2012-11-14 06:50:50 -08:00
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
Ayush Gupta
b743c0f3db closes #35 2012-11-06 11:03:38 +05:30
Ayush Gupta
8d3a5010b4 closes #63 2012-11-05 13:31:17 +05:30
Ayush Gupta
4a77d5a20f removed unnecessary node_modules, updated some of the logic from pull request for docExpansion, onComplete and onFailure param support 2012-11-05 11:17:25 +05:30
Ayush Gupta
b05f6f9cb5 upgraded handlebars and removed the need for local copy of handlebars. 2012-11-05 08:48:03 +05:30
Ayush Gupta
f435ffaa27 Merge pull request #74 from arjunballa/master
doneSuccess and doneFailure callback functions and display resources in list and expanded view
2012-11-04 18:26:29 -08:00
fehguy
43ddbc0c04 Merge pull request #73 from tot-ra/patch-1
Problem sending parameters via POST
2012-10-30 23:23:37 -07:00
Arjun Balla
6beaa62b71 code to display resources in default/list/expended style. style can be
passed as a option while creating swagerUi object.
In future I would like to achieve this by passing options to templates
and have a template helper method manipulate dom and apply correct
classes.This approach will improve the performance as we need not go
over the entire dom and call Doc.collapseOperationsForResource or
Doc.expandOperationsForResource on each matched element
2012-10-23 11:42:26 -07:00
Arjun Balla
1fc4caae2e code to pass doneSuccess and doneFailure callback functions. doneSuccess is invoked after successful rendering of swagger-ui and doneFailure is invoke if there is failure in rendering swagger-ui 2012-10-23 11:26:20 -07:00
unknown
55fd0252b7 added .project to gitignore 2012-10-23 11:22:09 -07: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
Ayush Gupta
09c97af686 Merge pull request #69 from arjunballa/master
Fix for issue https://github.com/wordnik/swagger-ui/issues/68
2012-10-11 20:22:31 -07:00
arjunballa
422847da78 swagger-ui handlebar templates are compatible only with 1.0.5beta version 2012-10-09 14:40:04 -07:00
Ayush Gupta
c4dfb91e7d closed #68 2012-10-09 19:00:08 +05:30
Ayush Gupta
4f4c8e2a3c Update README.md 2012-10-09 18:51:17 +05:30
Ayush Gupta
1a884d722f Update README.md
added instructions to install handlebars
2012-10-09 18:49:16 +05:30
Ayush Gupta
8afc87b6ed Merge pull request #65 from Arul-/patch-1
setting content type to JSON for http PATCH
2012-10-02 08:21:36 -07: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
8d39588524 added styling for patch 2012-09-30 17:26:43 +05:30
Ayush Gupta
8a80fe9a0c reformatted css for readability 2012-09-30 16:48:56 +05:30
Ayush Gupta
1379f7ad1d Custom Header Parameters - (For Basic auth etc). Closes #53. Thanks @rintcius! 2012-08-31 10:32:15 +05:30
Ayush Gupta
ec60488464 Merge pull request #56 from rintcius/fix-jquery-reference
fix broken link to jquery
2012-08-30 08:30:40 -07:00
Rintcius Blok
ce0c919ee2 refer to jquery-1.8.0.min.js because jquery-1.8.0.js is not available in lib
(also added .idea to .gitignore)
2012-08-30 16:24:27 +01:00
Ayush Gupta
abe46f6a81 Merge pull request #52 from mckamey/patch-1
Also fixed in swagger.js @ 539a7dcefa
2012-08-28 04:50:16 -07:00
Ayush Gupta
58d5a35bce closes #45 2012-08-28 17:05:35 +05:30
Ayush Gupta
4570b99136 closes #46 2012-08-28 16:54:36 +05:30
Ayush Gupta
221373c9da Updated readme with a section on SwaggerUi and its instantiation 2012-08-28 16:20:52 +05:30
Ayush Gupta
ded600aecd closes #38 closes #37 2012-08-28 15:58:07 +05:30
fehguy
13862f7df6 Merge pull request #55 from TomTasche/master
load logo_small.png and throbber.gif from images/ directory
2012-08-27 09:28:17 -07:00
Thomas Taschauer
97613dfffe load logo_small.png and throbber.gif from images/ directory 2012-08-27 11:25:47 +02:00
Stephen McKamey
33ba9e5757 Fixing typo 2012-08-21 19:38:36 -07:00
Tony Tam
c7788bd77f removed dist folder 2012-08-18 22:22:01 -07:00
Tony Tam
69d52a8c59 updated to point to downloads 2012-08-18 22:21:46 -07:00
fehguy
a99fefb08c Merge pull request #50 from rintcius/allowHtmlInSummaryNotesDescription
allow html in summary, notes and description; fix default for readonly parameters
2012-08-18 08:49:01 -07:00
fehguy
a95b234deb Merge pull request #49 from rintcius/fix-build-wrongHtmlDist
fix build
2012-08-18 08:48:28 -07:00
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
Rintcius Blok
c8c75cf4b3 fix build 2012-08-18 10:57:01 +01:00
Tony Tam
af5ec2a700 re-enabled notes 2012-08-03 21:09:36 -07:00
Ayush Gupta
e4006b9b41 updated readme with info on supportHeaderParams 2012-07-18 15:47:37 -07:00
Ayush Gupta
489be0c4c8 updated readme, escaping underscore 2012-07-18 15:43:01 -07:00
Ayush Gupta
a77e617277 Support for changing api_key parameter name. Closes #36 2012-07-18 15:40:43 -07:00
Ayush Gupta
4a54c7a7a0 added sublime project file 2012-07-18 11:45:44 -07:00
Ayush Gupta
5a52410e62 Calling Backbone.history.start later 2012-07-17 22:24:06 -07:00
Ayush Gupta
16a1e1bda8 updated readme 2012-07-17 18:36:31 -07:00
Ayush Gupta
94d97efdc6 updated readme 2012-07-17 18:34:26 -07:00