Commit Graph

896 Commits

Author SHA1 Message Date
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
Anna Bodnia
d3856a8bfa fixes #2346 remove unnecessary escaping of model signature 2016-08-24 14:00:05 +03:00
Anna Bodnia
a1aea70f2c fixed tag xss issue 2016-08-23 18:26:50 +03: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
432d2793db Merge branch 'master' of github.com:swagger-api/swagger-ui 2016-08-10 14:12:25 +02:00
Tony Tam
ef0c392c48 simplified logic 2016-08-10 14:11:21 +02:00
Tony Tam
dd75674746 Merge branch 'master' of https://github.com/mikexliu/swagger-ui into mikexliu-master 2016-08-10 14:09:59 +02:00
Tony Tam
465164e361 Merge pull request #1656 from dalbani/patch-1
Simplify online validator URL building (HTTP[S]?)
2016-08-10 13:52:36 +02:00
Tony Tam
aa31d9a24e Merge pull request #2293 from PeterDaveHelloKitchen/image-optimize
optimize png images using zopflipng
2016-08-10 13:43:09 +02:00
Tony Tam
d3bf3b9a63 updated in source 2016-08-10 13:33:25 +02:00
Anna Bodnia
c51c683424 fixed failing jshint 2016-08-09 15:26:19 +03:00
Anna Bodnia
20daf3c79e added version into handlebars file name 2016-08-09 14:55:01 +03:00
Anna Bodnia
6a00aa8e98 Merge branch 'feature/issue-2306_' of /Users/bodnia/Documents/work/prj/swagger-ui with conflicts. 2016-08-08 19:12:11 +03:00
Marco Süß
cd57350dcd fix hitting return key in HeaderView
This fixes return key behaviour in Chrome. Steps to reproduce:
- open Swagger UI in Chrome
- modify URL of swagger spec
- hit 'return'

Expected behaviour: load swagger.json from new URL
Observed behaviour before applying this fix: the whole page will reload
with the default swagger petstore URL in the input field.
2016-08-04 16:04:01 +02:00
Mike Liu
4cb3a01943 if param.schema doesn't exist, then the line will fail
use single quotes
2016-07-28 13:47:25 -07:00
Peter Dave Hello
08402d297e optimize png images using zopflipng 2016-07-22 14:27:44 +08:00
Tony Tam
6f8599d1a5 Merge pull request #2289 from tcaesvk/master
fix options.oauth2RedirectUrl to work
2016-07-21 07:47:09 -07:00
Anna Bodnia
571313d09b fixes #2167 2016-07-21 16:18:31 +03:00
김 재석
f3ec1b62a7 fix options.oauth2RedirectUrl to work 2016-07-21 16:48:50 +09:00
Tony Tam
cc2d47aba6 merged 2016-07-20 19:19:04 -07:00
Tony Tam
515f142026 merged 2016-07-20 19:05:38 -07:00
Tony Tam
db1d742ff2 rebuilt 2016-07-14 22:14:37 -07:00
Tony Tam
680f3bd414 merged 2016-07-14 22:13:24 -07:00
Francisco Guimarães
b00ad4986f Created by translation is not working 2016-06-28 23:10:43 -03:00
Toni Dahl
ee43bcf8ab Re-render AuthButtonView after 'authorize' button click. 2016-06-27 13:15:34 +03:00
Anna Bodnia
8e60b0a7c4 fixes #2191 #2077 2016-06-17 11:24:18 +03:00
Anna Bodnia
f01fb9561b fixes #2213 2016-06-15 17:58:22 +03:00
Ron
45cf93d210 Merge pull request #2176 from trustpilot/make-oauth-scopes-optional
Make oauth2 scopes optional
2016-06-13 10:22:00 -07:00
Ron
adc8920101 Merge pull request #2156 from drewish/optional-basic-auth-password
Don't require a password
2016-06-10 08:10:38 -07:00
FlaxHaxx
357df79f58 Fixed #2193. Changed logout click to remove basic authentication header by using the configured value as key instead of basic. 2016-06-07 15:34:50 +02:00
Jon Wikman
abcbc7b104 Changed logout click to remove basic authentication header by using the configured value as key instead of "basic" 2016-06-07 10:29:51 +02:00
Tony Tam
1a1cfc55ba added fix for #2075, changed auth name from basic to use configured value 2016-06-04 14:40:56 -07:00
Michael Ernst
ce0d15f20d #2187 added some classes to sandbox form tables 2016-06-01 17:18:58 +02:00
Sebastian Wahn
2ec76378cd make redirect_uri global 2016-05-25 17:30:58 +02:00
Christian
a467cec9ef Update Oauth2Model.js
Jslint
2016-05-25 15:42:32 +02:00
Christian
596f57596f Update Oauth2Model.js 2016-05-25 13:52:31 +02:00
Olivier Mengué
1e43742f60 Sync specs.less with {print,screen}.css (#1710)
In ceb6655663 (#2130), CSS code has been
changed in src/main/html/csss/{print,screen}.css instead of LESS source.
This commit resynchronize the source with the generated code.
2016-05-19 15:17:39 +02:00
andrew morton
adb84595bf Don't require a password
Fixes #2114
2016-05-12 15:47:19 -06:00
Josh Ponelat
5a5967e4b3 add object-assign pollyfill, for travis 2016-05-10 18:00:24 +02:00
Tony Tam
a67722e870 Merge pull request #2099 from oddvar/safari-font-fix
Without this "," Safari fails to load the font
2016-05-02 21:48:36 -07:00
Tony Tam
79b340d88a Merge pull request #2130 from csmb/overflow-css
Fixes overflow issue for markdown code examples
2016-05-02 21:24:43 -07:00
Guido Josquin
9bbb42eb48 Merge branch 'master' of https://github.com/swagger-api/swagger-ui
# Conflicts:
#	dist/swagger-ui.js
#	dist/swagger-ui.min.js
2016-05-02 15:06:37 +02:00
Christian Tellnes
d89ed220df oauth2: all paths does not require a scope 2016-04-26 15:29:28 +02:00
Christian Tellnes
b1358ba881 oauth2: don't mutate global scopes object 2016-04-26 15:28:52 +02:00
Christopher Bunting
ceb6655663 Fixes overflow issue for markdown code examples 2016-04-22 12:03:25 -07:00
Guido Josquin
918aed94d6 Show property information in model for primitive types, similar to object types 2016-04-22 12:06:09 +02:00