Commit Graph

39 Commits

Author SHA1 Message Date
Brightcove Learning Services
727d9e03e0 fix for issue #285 2013-08-15 14:07:45 -04:00
Tony Tam
085fc8dc7e updated handlebars 2013-08-14 10:48:48 -07:00
Tony Tam
390ee1c781 removed console logs 2013-07-11 16:56:03 -07:00
Tony Tam
078851ba6e fixed default URL 2013-07-11 07:59:11 -07:00
Tony Tam
e980cca6b4 added api info 2013-07-11 00:26:05 -07:00
Tony Tam
187d245047 updated to use petstore instead of localhost 2013-07-09 11:54:06 -07:00
Tony Tam
2a206b0a6b renamed discoveryUrl to url to match js change 2013-07-08 23:53:05 -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
Paul Hill
8ec69b272c Making fonts call protocol agnostic so it works behind https 2013-04-05 11:20:39 -07: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
e318616cd1 reverted default url 2013-02-04 10:39:45 -08:00
Tony Tam
9b1bd11f2d fix for #121 2013-02-01 21:32:14 -05:00
Tony Tam
2d62bddfb8 updated to 1.1.4 2012-11-19 19:30:42 -08:00
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
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
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
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
ded600aecd closes #38 closes #37 2012-08-28 15:58:07 +05:30
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
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
7bd8ebc2bc Added implementation notes to documentation 2011-07-30 21:15:21 -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
6486cf7ba3 cleaned up page, parameterized base url 2011-07-27 12:35:01 -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