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
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
Mohsen Azimi
5308edc0d1
decode encoded URLs
...
Fixes #817
2015-01-30 15:58:56 -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
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
Tony Tam
9a4aa61655
rebuilt file
2015-01-29 13:02:29 -08:00
Tony Tam
6ad5d2da2d
merged into swagger-js
2015-01-29 12:47:59 -08:00
Brian Shamblen
93e5566267
Oauth2 changes to support accessCode flow
...
Additional logic to support accessCode flow type, as well as minor bug
fixes to support the 2.0 spec.
2015-01-29 11:10:44 -08:00
Brian Shamblen
d7ac2f7232
Added hover over popup to display property validation attributes
...
swagger-ui does not render all Parameter-fields #808
2015-01-29 10:11:13 -08:00
Tony Tam
16135670c1
updated swagger-client lib, index fonts
2015-01-29 10:10:44 -08:00
Tony Tam
b7a7607820
merged from develop, #824
2015-01-28 22:45:35 -08:00
Tony Tam
d9a3c65ac4
fixed build, dist
2015-01-28 22:40:52 -08:00
Gen Liu
7a85244d27
add local google font cache
2015-01-28 17:02:20 -08:00
gengen1988
cea4042f25
remove google web font
...
Web font may slow down loading speed in LAN. Chrome will wait 30s until it timeout.
2015-01-28 17:02:09 -08:00
Tony Tam
bc0a214ffa
manually applied #458
2015-01-28 14:43:41 -08:00
Shaun Becker
c8d4ded6aa
Fixed terms of service link
2015-01-07 14:06:58 -05:00
Tony Tam
ba57476181
fixed headers, file upload per #662
2015-01-06 17:45:06 -08:00
Tony Tam
355a7e4a2c
merged #779
2014-12-29 10:18:16 -08:00
Tony Tam
4ec793057e
Merge pull request #755 from dnozay/patch-1
...
Update SwaggerUi.coffee
2014-12-02 22:26:18 -08:00