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
Greg MacLellan
ad944b93f3
Support console.log in IE9
...
IE9 does console incorrectly, this fixes according to http://stackoverflow.com/questions/5538972/console-log-apply-not-working-in-ie9
2012-11-13 13:03:16 -05: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
Greg MacLellan
abcd97d512
Added doctype declaration
...
In IE in particular, not including a doctype causes it to do all sorts of ridiculous things, like rendering in IE5 quirks mode.
I am not sure why any developers would using IE, but my QA team found this and it's an easy enough fix and technically the right thing to do, so might as well fix it.
2012-11-09 17:06:18 -05:00
Ayush Gupta
b743c0f3db
closes #35
2012-11-06 11:03:38 +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
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
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
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
58d5a35bce
closes #45
2012-08-28 17:05:35 +05:30
Ayush Gupta
ded600aecd
closes #38 closes #37
2012-08-28 15:58:07 +05:30
Thomas Taschauer
97613dfffe
load logo_small.png and throbber.gif from images/ directory
2012-08-27 11:25:47 +02: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
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
f42a3bf687
closes #34
2012-07-17 12:23:23 -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
zeke
08e4dca99f
Moved Ayush's code to /legacy
2011-08-02 15:41:36 -07:00
rpidikiti
b20621c30b
Fixed UI to handle format in the resource paths
2011-08-02 11:43:28 -07:00
rpidikiti
3ea590d97a
Fixed issue with displaying error response
2011-08-01 16:00:36 -07:00
rpidikiti
9e39cb06fc
Added resources to base path
2011-08-01 15:10:35 -07:00
rpidikiti
9223ddd3fa
Fixed JS issue
2011-08-01 12:13:03 -07:00
rpidikiti
7bd8ebc2bc
Added implementation notes to documentation
2011-07-30 21:15:21 -07:00
Ayush Gupta
74eddf72b8
caching lase used baseUrl and key in local storage
2011-07-28 17:22:17 -07:00
Ayush Gupta
2a6ed09f74
yay: dev complete: swagger javascript sandbox
2011-07-28 16:35:05 -07:00
Ayush Gupta
cde87fbddf
added input fields to take in the api url and api key
2011-07-27 22:31:35 -07:00
Ayush Gupta
6c22450eeb
added elements for selecting base url and api key
2011-07-27 18:54:07 -07:00
Ayush Gupta
7f6edb492a
submit button working
2011-07-27 15:56:25 -07:00
Ayush Gupta
668a8a372e
added some spine: view controllers
2011-07-27 15:28:19 -07:00
Ayush Gupta
6486cf7ba3
cleaned up page, parameterized base url
2011-07-27 12:35:01 -07:00
Ayush Gupta
9e874d65ab
parameterized root resources api name and host url. also removed list resource from model
2011-07-27 12:31:35 -07:00
Ayush Gupta
9443819afd
first working version of swagger ui without the form submission/sandbox
2011-07-27 12:10:56 -07:00
Ayush Gupta
df98b00258
added templates for resources, apis and operations
2011-07-26 22:50:51 -07:00
Ayush Gupta
f971b0629a
html/js page skelton
2011-07-26 22:38:46 -07:00
Ayush Gupta
2db44ea9e0
separated sample usage into external js file
2011-07-25 11:16:36 -07:00
Ayush Gupta
98267f796d
ini
2011-07-25 10:56:05 -07:00