Commit Graph
279 Commits
Author SHA1 Message Date
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 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
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
LASSALLE Nicolas 19352cb3ff encodeURIComponent on api_key 2015-03-06 11:10:17 -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 516b85ee65 Add generated print CSS file in src/main/html/css/ 2015-03-05 10:50:34 -08:00
Tony Tam d40172c1fb Merge pull request #973 from nunovieira/print.css_2.0
add print style sheet
2015-03-03 16:41:32 -08:00
Mohsen Azimi 66649dcb0d Merge branch 'master' of https://github.com/vincentjames501/swagger-ui into vincentjames501-master
Conflicts:
	src/main/coffeescript/view/OperationView.coffee
2015-03-02 10:35:58 -08:00
Nuno Vieira f10c0ff405 add print style sheet 2015-02-27 18:18:14 +00:00
Mohsen Azimi 8abc30a191 Add 'required' class to list parameter if it's required
Fixes #700
2015-02-25 14:06:15 -08:00
Mohsen Azimi 461372354e Set marked options to render GFM correctly
Fixes #825
2015-02-25 11:46:37 -08:00
Tony Tam 24b649f2d5 fix for #944, form data with 2.0 spec 2015-02-21 00:32:31 -08:00
Tony Tam 65034e0876 prepare for file upload in swagger-js 2015-02-21 00:26:30 -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 4bbc87695e removed log 2015-02-01 00:48: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 89cb34ed1d moved tests, added 1.x, 2.0 2015-01-30 22:49:36 -08:00
Mohsen Azimi ae4686b0dd More test + fix decodeURIComponent call
Previously I was calling decodeURIComponent on regex match result which
was an array. This fixes that and alos adds more tests
2015-01-30 16:34:08 -08:00
Tony Tam 040b7e3e5b Merge pull request #889 from mohsen1/console-test-fix
Take out `checkConsoleErrors` from inside title check
2015-01-30 16:06:42 -08:00
Mohsen Azimi 5308edc0d1 decode encoded URLs
Fixes #817
2015-01-30 15:58:56 -08:00
Mohsen Azimi 21262ddb8e Sleep instead of wait 2015-01-30 15:39:11 -08:00
Mohsen Azimi ce532ed81b Take out checkConsoleErrors from inside title check
`it` inside another `it` will not get executed.
2015-01-30 15:25:12 -08:00
Tony Tam 3b6e24ec1d updated test to check console errors after loading 2015-01-30 15:16:14 -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 157dc79e9f Don't fail with the first browser error.
log all browser errors and then fail
2015-01-30 13:54:09 -08:00
Mohsen Azimi 6d3741a144 Add test for console errors 2015-01-30 13:45:38 -08:00
Mohsen Azimi 6219dbfb0c Merge branch 'patch-2' of https://github.com/dnozay/swagger-ui into dnozay-patch-2 2015-01-30 13:00:46 -08:00
Matti Schneider f1a08a9989 Define default email subject in contact link 2015-01-30 12:27:39 +01:00
Tony Tam 77034e59d3 fix for #517 2015-01-30 00:06:48 -08:00
Tony Tam e26a8ac717 rebuilt 2015-01-29 23:56:04 -08:00
Tony Tam e5b7923715 fix for #593 2015-01-29 23:53:22 -08:00
Mohsen Azimi 1c0dc38d5f PR #660 made to develop_2.0
Use `@el.find '.content'` instead of constructing an ID

This fixes #616
2015-01-29 23:49:04 -08:00
Tony Tam 281481f192 added contact.name, email to template 2015-01-29 23:41:20 -08:00
Tony Tam 9cb7d8bcbb added files from #862 2015-01-29 23:12:18 -08:00
Tony Tam a969680904 updated for #849 2015-01-29 22:16:07 -08:00
Tony Tam 51b7b984b7 fixed return type 2015-01-29 21:07:17 -08:00
Tony Tam ffce59099a fix for #484, reset class for response container when switching media types 2015-01-29 20:07:27 -08:00
Mohsen Azimi 030cea26d8 Finish "gulp" command 2015-01-29 16:33:14 -08:00