Mohsen Azimi
afa3a7bfe9
Add .gitattributes file
2015-03-17 14:33:43 -07:00
Tony Tam
f073f192a2
Merge pull request #1036 from mohsen1/remove-swaggerui-global-instance
...
Remove swaggerui global instance
2015-03-17 13:57:18 -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
Tony Tam
58982430c4
fix for #968 , removed block
2015-03-16 21:21:35 -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
79d9d1cf0d
Update docs
2015-03-16 13:45:08 -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
Tony Tam
194f2d5fb5
Merge pull request #1028 from mohsen1/wrap-in-iif
...
Wrap all SwaggerUI code in a iife
2015-03-12 18:35:46 -07:00
Tony Tam
7943876183
Merge pull request #1029 from mohsen1/remove-cs-folder
...
Remove CoffeeScript folder
2015-03-12 18:35:30 -07:00
Mohsen Azimi
52d9ce277c
Remove CoffeeScript folder
2015-03-12 17:54:30 -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
Tony Tam
465436a162
Merge pull request #1027 from mohsen1/cs-to-js
...
Goodbye CoffeeScript!
2015-03-12 17:33:02 -07:00
Mohsen Azimi
c710ad5be1
Fix V2 test
2015-03-12 17:16:15 -07:00
Mohsen Azimi
79917b0843
Run JSHint in TravisCi
2015-03-12 17:03:50 -07:00
Mohsen Azimi
5c32313880
JSHintify test
2015-03-12 17:01:01 -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
Mohsen Azimi
07d8a89c8f
Fix JS errors in source
2015-03-12 16:21:31 -07:00
Mohsen Azimi
215a8fa63e
Move all files to javascript folder and remove coffeescript folder
2015-03-12 16:21:31 -07:00
Mohsen Azimi
f21ade9ba7
Convert view/OperationView.coffee
...
This file is not fully converted. Some methods (mostly long ones) are brought from compiled CS code
2015-03-12 16:21:30 -07:00
Mohsen Azimi
c85835775b
Convert view/ParameterView.coffee
2015-03-12 16:21:25 -07:00
Mohsen Azimi
140dc776c9
Convert view/ParameterContentTypeView.coffee
2015-03-12 16:21:25 -07:00
Mohsen Azimi
e3a502c3df
Convert view/ResourceView.coffee
2015-03-12 16:21:25 -07:00
Mohsen Azimi
7755235213
Convert view/SignatureView.coffee
2015-03-12 16:21:20 -07:00
Mohsen Azimi
a11fd8b4c6
Convert view/StatusCodeView.coffee
2015-03-12 16:21:20 -07:00
Mohsen Azimi
dc4e595eed
Convert view/ResponseContentTypeView.coffee
2015-03-12 16:21:12 -07:00
Mohsen Azimi
dc9ce7d798
Convert view/MainView.coffee
2015-03-12 16:21:12 -07:00
Mohsen Azimi
72dad9685d
Convert view/HeaderView.coffee
2015-03-12 16:20:51 -07:00
Mohsen Azimi
3944828c60
Convert view/ContentTypeView.coffee
2015-03-12 16:20:51 -07:00
Mohsen Azimi
734ad71250
Convert view/BasicAuthButton.coffee
2015-03-12 16:20:51 -07:00
Mohsen Azimi
f211be40d2
Convert view/ApiKeyButton.coffee
2015-03-12 16:20:51 -07:00
Mohsen Azimi
15d1e22dbf
Convert helpers/handlebars.coffee
2015-03-12 16:20:51 -07:00
Mohsen Azimi
846d589a7e
Convert SwaggerUI.js and introduce JSHint
2015-03-12 16:20:51 -07:00
Tony Tam
4c3297a17f
Merge pull request #1016 from whitlockjc/update-swagger-js
...
Update swagger-js with latest
2015-03-11 13:27:16 -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
Tony Tam
86641fe325
Merge pull request #1022 from mohsen1/remove-globals
...
Remove global references to swaggerUi object
2015-03-11 12:49:29 -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
Tony Tam
ff5eb6f0f4
Merge pull request #1009 from mohsen1/develop_2.0
...
Bring back "Raw" link for 1.2 specs
2015-03-06 18:07:56 -05:00
Mohsen Azimi
998cfc72b1
Bring back "Raw" link for 1.2 specs
2015-03-06 14:33:54 -08:00
Tony Tam
87433d6d09
Merge pull request #1000 from mohsen1/develop_2.0
...
Render response headers.
2015-03-06 17:17:34 -05:00