Commit Graph

187 Commits

Author SHA1 Message Date
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
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
Tony Tam
3ef263d7d0 fix for #640 2015-02-01 01:41:26 -08:00
Tony Tam
6d24e5f429 fixed body param 2015-01-31 21:09:03 -08:00
Tony Tam
ef14c42d4c unified client 2015-01-31 20:39:57 -08:00
Tony Tam
5da9a3d060 updated lib 2015-01-30 23:43:39 -08:00
Tony Tam
89cb34ed1d moved tests, added 1.x, 2.0 2015-01-30 22:49:36 -08:00
Mohsen Azimi
9e8473308f a build 2015-01-30 16:30:51 -08:00
Tony Tam
be837167eb removed unnecessary logging 2015-01-30 15:02:05 -08:00
Tony Tam
74a12a15d6 rebuilt distro 2015-01-30 14:58:09 -08:00
Mohsen Azimi
59fd73343c Fix backbone compability issue 2015-01-30 14:51:49 -08:00
Mohsen Azimi
05e36a0179 new build 2015-01-30 13:52:53 -08:00
Tony Tam
20d437c874 regenerated files 2015-01-30 12:11:52 -08:00
Tony Tam
77034e59d3 fix for #517 2015-01-30 00:06:48 -08:00