Olivier Mengué
d2c9189a7c
Feature: add responseHooks option for callbacks on responses
...
Add a responseHooks option that allows the user to process the response
of an API call.
The responseHooks option is an object where key is an operationId and
value is a function that receives the XHR response object and the
OperationView object.
Use case: process authentication requests done with the "Try out!"
button to inject apiKey in the AuthView and the router on success.
2016-09-30 12:03:34 +02:00
Tony Tam
855b6c3170
merged
2016-09-29 16:32:45 -07:00
Tony Tam
e098b3a522
Merge branch 'master' of github.com:swagger-api/swagger-ui
2016-09-29 16:32:25 -07:00
Tony Tam
7878cea369
updated swagger-js version
2016-09-29 16:32:18 -07:00
Tony Tam
08b283cb0c
Merge pull request #2429 from chuck-g/patch-1
...
Fix font src attribute
2016-09-29 15:46:47 -07:00
Chuck Goss
87ef5c1f72
Fix font src attribute
...
The `format('truetype')` bit should not be preceded by a comma. It breaks in Chrome (at least).
See https://css-tricks.com/snippets/css/using-font-face/ for an example.
2016-09-28 15:21:46 -05:00
Tony Tam
36af368a8c
Update README.md
2016-09-26 18:59:34 -07:00
Tony Tam
e9ab52f7b5
Merge pull request #2426 from swagger-api/release-prepare
...
update swagger-js version
2016-09-26 12:25:42 -07:00
Tony Tam
f5a0db2078
merged with master
2016-09-26 12:17:13 -07:00
Tony Tam
b4acbbb57e
rebuilt, updated versions
2016-09-26 12:15:15 -07:00
Tony Tam
f92d6ddd55
Merge pull request #2416 from MugeSo/fix-build-on-windows
...
Fix handlerbars script in package.json
2016-09-26 12:14:52 -07:00
Tony Tam
7d37b75c32
updated swagger-client version
2016-09-26 12:14:21 -07:00
TANAKA Koichi
2cbe939412
Fix handlerbars script in package.json
...
npm "run scripts" resolves executable file path with PATH includes ./node_modules/.bin
fixes #2411
2016-09-21 18:09:15 +09:00
Tony Tam
f7424a7009
updated README
2016-09-20 09:51:34 -07:00
Tony Tam
f50851913e
Merge pull request #2414 from swagger-api/release-prepare
...
rebuilt for release
2016-09-20 09:50:38 -07:00
Tony Tam
e3d5ad2595
rebuilt for release
2016-09-20 08:46:19 -07:00
Tony Tam
656808b20c
Merge pull request #2404 from swagger-api/issue-2132
...
Add support for binary downloads, inline image rendering
2016-09-16 10:02:07 -07:00
Tony Tam
9fee08daa3
updated versions
2016-09-16 09:18:20 -07:00
Tony Tam
cf96414f78
removed unused var
2016-09-15 10:39:34 -07:00
Tony Tam
80e548df0a
no more blob conversions
2016-09-15 10:35:01 -07:00
Tony Tam
4bdaeba797
treat blobs as binary, render images w/o image url
2016-09-15 01:07:08 -07:00
Tony Tam
15f76ad355
updated js lib
2016-09-15 01:06:55 -07:00
Tony Tam
f321c62edc
rebuilt
2016-09-07 22:23:08 -07:00
Tony Tam
1a98574c03
Merge pull request #2383 from jt1796/param-fix
...
fix params showing as undefined
2016-09-04 20:32:18 -07:00
John Tompkins
1ce3dada00
fix params showing as undefined
2016-09-04 15:28:23 -04:00
Tony Tam
dab8c4a0e3
Merge branch 'bodnia-feature/add-sanitize-html'
2016-09-01 08:59:09 -07:00
Tony Tam
87438adc9a
updated version
2016-09-01 08:58:52 -07:00
Anna Bodnia
c385e24839
moved sanitize-html to swagger-ui instead of calling in index.html
2016-09-01 18:49:54 +03:00
Anna Bodnia
f87eaaa810
replaced satinize with sanitize-html
2016-09-01 16:09:44 +03:00
Tony Tam
48e7bc1331
updated versions
2016-08-24 09:03:13 -07:00
Tony Tam
ee1698e789
Merge pull request #2351 from sargue/lang-ca
...
Added catalan translation
2016-08-24 09:02:42 -07:00
Tony Tam
084625b759
Merge pull request #2347 from teohhanhui/composer-json
...
Add composer.json
2016-08-24 08:57:20 -07:00
Tony Tam
2915a16a14
Merge pull request #2350 from bodnia/fixes-model-xss
...
fixes #2346 remove unnecessary escaping of model signature
2016-08-24 08:53:52 -07:00
Sergi Baila
a5c8f2286e
Added catalan translation
2016-08-24 15:21:24 +02:00
Anna Bodnia
d3856a8bfa
fixes #2346 remove unnecessary escaping of model signature
2016-08-24 14:00:05 +03:00
Teoh Han Hui
0384df092f
Add composer.json
...
https://getcomposer.org/
2016-08-24 14:15:23 +08:00
Tony Tam
d146b01dc8
updated release versions
2016-08-23 12:38:54 -07:00
Tony Tam
a906cffea4
Merge pull request #2334 from bodnia/feature/xss
...
fix for xss issue
2016-08-23 12:35:00 -07:00
Anna Bodnia
a1aea70f2c
fixed tag xss issue
2016-08-23 18:26:50 +03:00
Tony Tam
826bfcce67
added test spec
2016-08-19 12:27:32 -07:00
Anna Bodnia
45ec53e81a
fixed expand operation by click
2016-08-19 00:19:55 +03:00
Anna Bodnia
eaf59c1e8c
fixed sanitize handlebars helper to accept not only strings
2016-08-18 17:42:10 +03:00
Anna Bodnia
11f1263a62
fix for xss issue
2016-08-17 20:55:23 +03:00
Tony Tam
6c4ccf7a6d
Merge pull request #1660 from dalbani/patch-2
...
Fix calculation of operation "number" property
2016-08-11 12:15:52 +02:00
Tony Tam
5df5a8ae60
updated readme
2016-08-10 15:50:06 +02:00
Tony Tam
36c5fd89d4
rebuilt
2016-08-10 14:24:40 +02:00
Tony Tam
7aa075fdd1
rebuilt
2016-08-10 14:15:51 +02:00
Tony Tam
432d2793db
Merge branch 'master' of github.com:swagger-api/swagger-ui
2016-08-10 14:12:25 +02:00
Tony Tam
7e27c77cb0
Merge branch 'mikexliu-master'
2016-08-10 14:11:57 +02:00
Tony Tam
ef0c392c48
simplified logic
2016-08-10 14:11:21 +02:00