Commit Graph

233 Commits

Author SHA1 Message Date
Tony Tam
81e897a07a checks for window 2016-11-14 11:34:50 -08:00
Tony Tam
a63dc0c51b use model variables instead of window 2016-11-14 11:00:04 -08:00
Tony Tam
2ad57cab6b added type check 2016-10-13 15:44:06 -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
John Tompkins
1ce3dada00 fix params showing as undefined 2016-09-04 15:28:23 -04:00
Anna Bodnia
f87eaaa810 replaced satinize with sanitize-html 2016-09-01 16:09:44 +03:00
Anna Bodnia
a1aea70f2c fixed tag xss issue 2016-08-23 18:26:50 +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
465164e361 Merge pull request #1656 from dalbani/patch-1
Simplify online validator URL building (HTTP[S]?)
2016-08-10 13:52:36 +02: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
Anna Bodnia
571313d09b fixes #2167 2016-07-21 16:18:31 +03:00
Tony Tam
cc2d47aba6 merged 2016-07-20 19:19:04 -07: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
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
andrew morton
adb84595bf Don't require a password
Fixes #2114
2016-05-12 15:47:19 -06: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
Guido Josquin
918aed94d6 Show property information in model for primitive types, similar to object types 2016-04-22 12:06:09 +02:00
Tony Tam
d7184b3d64 Merge pull request #2105 from Oduig/master
Fix generated XML when property definitions reference primitive types
2016-04-21 09:32:37 -07:00
Tony Tam
a8f87709ef reference check for #2108 2016-04-20 22:16:56 -07:00
Guido Josquin
eb30aed1a8 Fix generated XML when property definitions reference primitive types 2016-04-20 15:54:39 +02:00
Tony Tam
ebc5aa55f7 Merge pull request #2005 from patrickhulce/param_bug_fix_2004
Fix for #2004
2016-04-15 11:18:50 -07:00
bodnia
9c509e5cad fixes opening url in new tab only in description 2016-03-19 10:07:22 +02:00
bodnia
dfd9b10798 [auth] fixed display of scopes in auth button, added highlight of empty field 2016-03-15 17:13:59 +02:00
bodnia
1f7dbe44c4 [auth] ran gulp 2016-03-13 23:53:19 +02:00
bodnia
56c5294c22 [auth] Authorize with oauth2 2016-03-13 23:37:10 +02:00
bodnia
0852d70f41 [auth] change show auth popup button depending on logged in auth 2016-03-13 22:52:21 +02:00
bodnia
fe9a497b9d [auth] moved parse method into collection 2016-03-13 10:24:00 +02:00
bodnia
e90a72ad4a [auth] created auth collection view 2016-03-13 02:11:56 +02:00
bodnia
0f77177455 [auth] UI changes 2016-03-13 00:52:47 +02:00
bodnia
1e38c8999b [auth] UI changes 2016-03-11 19:02:56 +02:00
bodnia
e08b7be581 [auth] added handling of oauth2 login 2016-03-09 20:24:02 +02:00
bodnia
c3d4bcca3d [auth] moved logic for auths collections into AuthsCollection 2016-03-09 03:18:26 +02:00
bodnia
e7d5ad6d2e [auth] Added display of oauth2 2016-03-08 23:05:41 +02:00
Anna Bodnia
4a49b783f7 [auth] added support of oauth2 in security popup 2016-03-07 21:15:16 +02:00
Anna Bodnia
d2b94d5a01 [auth] parsing authentications from definitions 2016-03-07 21:15:16 +02:00
Anna Bodnia
23332b1310 [auth] moved authorizations into the header 2016-03-07 21:15:16 +02:00
Anna Bodnia
0934129424 [auth] fixed base spec url 2016-03-07 21:15:14 +02:00
Anna Bodnia
42be315276 [auth] Added api key and basic authorization 2016-03-07 21:15:14 +02:00
Anna Bodnia
0e698af5b1 [auth] renamed AuthView to AuthButtonView 2016-03-07 21:15:14 +02:00