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
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
Артём Курапов
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
Ayush Gupta
5a52410e62
Calling Backbone.history.start later
2012-07-17 22:24:06 -07:00
Ayush Gupta
f2e63c65a7
support for non GET methods. Closes #15
2012-07-17 18:31:38 -07:00
Ayush Gupta
56c83c5624
Calling load after instantiation of SwaggerUI
2012-07-13 16:45:04 -07:00
Tony Tam
6be8516d60
updated key
2012-07-13 06:16:38 -07:00
Tony Tam
d2eb882e52
updated to v2
2012-07-11 09:57:27 -07:00