Commit Graph

299 Commits

Author SHA1 Message Date
Tony Tam
978588a8d4 updated package, rebuilt 2015-03-28 17:17:11 -07:00
Tony Tam
0c6fcde0c1 rebuilt 2015-03-27 18:51:45 -07:00
laurent lepinay
326f542d04 Merge branch 'develop_2.0' into JSONEditor
Conflicts:
	dist/index.html
	dist/swagger-ui.js
	dist/swagger-ui.min.js
2015-03-27 02:15:29 -07:00
Mohsen Azimi
3de0b36a4e Fix JSHint issues 2015-03-26 13:09:08 -07:00
Mohsen Azimi
d451c2b539 Add link innerText 2015-03-26 13:08:23 -07:00
Mohsen Azimi
c157fe41c1 Add support for downloading via Blob 2015-03-26 13:06:33 -07:00
Mohsen Azimi
6b8f6e2827 Add file download to try operation 2015-03-26 11:41:06 -07:00
Mohsen Azimi
445e0353ca Append .json to v1 spec files to enforce Content-Type when serving in test 2015-03-25 12:49:57 -07:00
Mohsen Azimi
6523318f88 Rename redirectUrl optoon to oauth2RedirectUrl 2015-03-24 13:33:40 -07:00
Mohsen Azimi
ede1faa0c8 Add ability to override redirectUrl in swagger-oauth
Fixes #457
2015-03-24 13:33:18 -07:00
laurent lepinay
e7b7465335 Merge branch 'develop_2.0' into JSONEditor
Conflicts:
	dist/index.html
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	src/main/coffeescript/view/MainView.coffee
	src/main/coffeescript/view/OperationView.coffee
	src/main/coffeescript/view/ParameterView.coffee
	src/main/coffeescript/view/ResourceView.coffee
	src/main/coffeescript/view/SignatureView.coffee
	src/main/html/index.html
2015-03-24 07:06:07 -07:00
Mohsen Azimi
b58eee10e7 Fix JSHint issues 2015-03-23 16:00:43 -07:00
Mohsen Azimi
93c18d59b8 Make SwaggerUi UMD compatible 2015-03-23 14:28:14 -07:00
Tony Tam
38ac8428d1 rebuilt 2015-03-17 16:29:02 -07:00
Mohsen Azimi
9b409f75b8 Encode/decode tags before using it in the URL
Fixes #994

Conflicts:
	dist/swagger-ui.min.js
2015-03-17 14:14:28 -07:00
Mohsen Azimi
f49c1689d2 Move backward compatibility to swaggerUi.js and warn users about API changes 2015-03-17 12:10:28 -07:00
Mohsen Azimi
d61cf24ae0 Append swagger-auth global functions to window and don't break backward 2015-03-16 15:07:14 -07:00
Mohsen Azimi
8c6e3a6d95 Append Docs to window for now
also remove expection for global swaggerUi from JSHint
2015-03-16 13:58:05 -07:00
Mohsen Azimi
51bbbf03db Remove all references to swaggerUi global instance 2015-03-16 13:52:38 -07:00
Mohsen Azimi
66adb0d508 Remove global auth object references and fix header api key adding mechanism
Fixes #1033
2015-03-16 13:45:08 -07:00
Mohsen Azimi
9ed1ad88ec Pass router to all views 2015-03-16 11:08:28 -07:00
Mohsen Azimi
4e22ff8b96 Wrap all SwaggerUI code in a iife
to avoid leaking globals other than SwaggerUi and swaggerUi

TODO: we should remove swaggerUi global dependency too
2015-03-12 17:51:44 -07:00
Mohsen Azimi
07ac7fcf95 Fix all JSHint errors 2015-03-12 16:50:57 -07:00
Mohsen Azimi
096cd120a4 Some cleanup in Docs.js
Doc.js is ignored in JSHint so we are not cleaning it up entirely!
2015-03-12 16:46:51 -07:00
Mohsen Azimi
dac83b71c8 Remove global views
Append all views to SwaggerUi.Views object
2015-03-12 16:42:23 -07:00
Mohsen Azimi
8440833f6c Remove [].forEach calls 2015-03-12 16:22:19 -07:00
Mohsen Azimi
f35bbc7ec1 Fix binding error in swagger-js file 2015-03-12 16:22:19 -07:00
Mohsen Azimi
9ad29d72b0 remove coffeescript from build process 2015-03-12 16:22:19 -07:00
laurent lepinay
447b905132 JSONEditor enable/disable flag 2015-03-12 07:12:07 -07:00
Jeremy Whitlock
bdb181cb08 Update swagger-js with latest
* For the e2e tests to run, we had to enable CORS in http-server.  The
  release of http-server that supports CORS hasn't come out yet so we
  have to use http-server@master until then.  Here is the commit I speak
  of: 30f4d1e008
2015-03-11 14:17:11 -06:00
Tony Tam
5ba40f3285 Merge pull request #1018 from mohsen1/favicon
Update favicon with official logo and HiDPI support
2015-03-11 12:59:10 -07:00
Mohsen Azimi
7786919ba1 Fix issue with $.contains in Firefox 2015-03-10 14:34:09 -07:00
Mohsen Azimi
7006e86fa5 Remove global references to swaggerUi object
By passing parent view as an option to child views, child views can
access parent views and eventually can access model of MainView

There is alos a new domEl option available for SwaggerUI constructor.
User can send domEl instead of dom_id to specifiy which element they
want to render to
2015-03-10 11:16:08 -07:00
Mohsen Azimi
dee699833f Update favicon with official logo and HiDPI support 2015-03-09 18:07:35 -07:00
laurent lepinay
eb390ffca2 JSON Editor feature 2015-03-09 07:06:24 -07:00
Mohsen Azimi
998cfc72b1 Bring back "Raw" link for 1.2 specs 2015-03-06 14:33:54 -08:00
Mohsen Azimi
3e9ef059ec Render externalDocs when it's available 2015-03-05 13:51:16 -08:00
Mohsen Azimi
eeb83a40bd Render response headers
Fixes #930
2015-03-05 10:50:38 -08:00
Mohsen Azimi
98eaa42820 update dependency and test in node 0.12 2015-02-28 09:00:14 -08:00
Tony Tam
41976fe654 rebuilt client 2015-02-26 21:01:25 -08:00
Tony Tam
7d3d100401 updated js lib 2015-02-25 22:14:14 -08:00
Tony Tam
ff5e84744b updated client for remote ref support 2015-02-21 23:56:06 -08:00
Tony Tam
89d6bede32 updated version 2015-02-21 00:49:02 -08:00
Tony Tam
b7430c3132 rebuilt 2015-02-21 00:42:14 -08:00
Tony Tam
b3c31eb631 rebuilt 2015-02-19 23:00:48 -08:00
Tony Tam
1447b865d2 updated version 2015-02-19 22:55:36 -08:00
Tony Tam
fb30579387 updated client 2015-02-19 21:50:56 -08:00
Tony Tam
7596ab0c9c rebuilt 2015-02-18 21:20:15 -08:00
Tony Tam
b5ebe4f796 rebuilt 2015-02-18 21:19:14 -08:00
Tony Tam
2dad51f6b1 updated from master 2015-02-18 21:18:53 -08:00