Commit Graph

63 Commits

Author SHA1 Message Date
Greg Thompson
f2cbfd0e51 contentType prop not required 2017-11-07 11:17:05 -06:00
Greg Thompson
d96bd29d0c pass required getConfig to parameter-row 2017-11-07 11:16:41 -06:00
Josh Ponelat
44361d1cbb add specSelectors.hasHost for OAS3 2017-11-03 17:58:15 +02:00
Helen Kosova
73371b4f9c Removed redundant "In:" label from Bearer auth dialog 2017-10-30 21:01:40 +03:00
Kyle Shockey
109f7ed430 memoize definitionsToAuthorize based on securityDefinitons value 2017-10-27 22:41:27 -07:00
Kyle Shockey
7159649501 Return null instead of empty ImmutableMap in OAS3 securityDefinitions selector 2017-10-26 15:32:14 -07:00
kyle
6d22e38a04 Merge branch 'master' into ft/oas3-authorization 2017-10-20 19:07:38 -07:00
Kyle Shockey
c9674a1fc5 Refactor Auths component flow; create component that supports HTTP auths 2017-10-18 21:23:28 -07:00
kyle
a03bcbdaf4 Well, it's "authorization" not "authentication". 2017-10-12 14:58:11 -07:00
kyle
6815f1d7bb Merge branch 'master' into bug/auth-display-regression 2017-10-12 13:18:00 -07:00
Kyle Shockey
6cf6a85637 Capture state in isAuthorized wrapAction 2017-10-12 13:10:56 -07:00
Kyle Shockey
8b81bcac48 OAS3 Auth MVP 2017-10-11 16:58:24 -07:00
Owen Conti
13aa95ff00 Merge branch 'master' of github.com:swagger-api/swagger-ui into test/3715-xss-unit-tests 2017-10-08 09:58:41 -06:00
Kyle Shockey
8354132915 Fix problems regarding request body display 2017-10-02 14:45:51 -07:00
Owen Conti
559b315d0d Initial test for Markdown <script> sanitization 2017-10-01 10:30:41 -06:00
Kyle Shockey
e15b4c85c0 ESLint.... 2017-09-29 17:51:12 -07:00
Kyle Shockey
7e6f74080f Disable Swagger2 auth features in OAS3 2017-09-29 17:49:15 -07:00
Owen Conti
590819ad9b Fixes swagger-editor/#1502.
Change logic for markdown rendering to:

1. Convert source markdown to HTML
2. Sanitize HTML
3. Send sanitized HTML to markdown renderer
2017-09-27 18:05:12 -06:00
Owen Conti
7ef8a7ddc7 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3511-query-formData-parameters
# Conflicts:
#	src/core/components/parameter-row.jsx
#	src/core/plugins/spec/actions.js
2017-09-18 16:59:08 -06:00
Kyle Shockey
277cc81a8c OAS3 Accept header control: State-side 2017-09-12 19:39:52 -07:00
Kyle Shockey
5bc096d32b Fit linter and tests 2017-09-08 18:44:11 -07:00
Kyle Shockey
7a2c7d2cdc Squash commit: OAS3 Try-It-Out changes 2017-09-05 13:59:31 -07:00
Kyle
c5f5eff900 Merge branch 'master' into bug/3447-write-only 2017-08-10 17:16:51 -07:00
Kyle Shockey
35013d0945 Merge branch 'master' of github.com:swagger-api/swagger-ui 2017-08-08 20:15:17 -07:00
Kyle Shockey
31bf1d3779 MOAR link styling 2017-08-08 20:07:59 -07:00
Kyle Shockey
9bb0cd7689 Correct funky CSS for links 2017-08-08 19:20:28 -07:00
Kyle Shockey
15b70b6f2d Set writeOnly flags in correct places 2017-08-03 17:42:04 -07:00
Owen Conti
fdb0d13089 Fixes #3511 - Update changeParameter calls to accept in value to identify parameters based on name plus in value 2017-08-02 22:07:48 -06:00
Owen Conti
d64dfc4252 Fixes #3500 - Fix missing names for primitive models 2017-08-01 20:46:41 -06:00
Kyle Shockey
b994ae7d09 Fix bad PropTypes reference 2017-07-28 22:11:55 -07:00
Kyle Shockey
b373182afe ESLint fixes 2017-07-28 19:47:46 -07:00
Kyle Shockey
e7e03f2e44 Generate XML examples for request bodies (fixes #3448) 2017-07-27 18:03:40 -07:00
Kyle Shockey
afcc35b47c Indicate required request bodies (fixes #3449) 2017-07-27 18:03:30 -07:00
Kyle Shockey
8bbe706918 Disable Try-It-Out button in OAS3
CC: #3436
2017-07-25 21:55:32 -07:00
Kyle Shockey
f0038b0264 Array value for isShownKey (oops) 2017-07-25 20:17:51 -07:00
Kyle Shockey
298835a616 Assign unique isShownKey values to Callback operation displays
CC: #3462
2017-07-25 18:20:51 -07:00
Kyle Shockey
f0332d9cb5 add isSwagger2 selector 2017-07-06 11:19:51 -07:00
Kyle Shockey
0ebea56f90 Display example values for Request Bodies 2017-07-05 17:00:07 -07:00
Kyle Shockey
189f048e91 Stashed: move anyOf/oneOf/not into core 2017-07-05 15:18:50 -07:00
Kyle Shockey
8ed43a1329 Ensure OAS3 Markdown fields are sanitized 2017-07-04 19:12:43 -07:00
Kyle Shockey
60701962b8 Nullify Schemes selector in OAS3 2017-07-03 19:03:53 -07:00
Kyle Shockey
1970b2c410 Disable Online Validation badge for OAS3 2017-07-03 19:02:03 -07:00
Kyle Shockey
50c0d39418 MOAR alignment 2017-06-29 23:26:33 -07:00
Kyle Shockey
61de35d69c Render request bodies correctly (minus Example Value + editable functionality) 2017-06-29 23:16:54 -07:00
Kyle Shockey
2b37e7c2e4 Render markdown more normally 2017-06-28 19:28:30 -07:00
Kyle Shockey
6e301aaa80 Don't allow Try It Out in callbacks 2017-06-27 21:42:59 -07:00
Kyle Shockey
b1956d0b46 Remove Headers from Link display 2017-06-27 21:41:36 -07:00
Kyle Shockey
fc26ffb78f Hide Callbacks operation tab if there are no callbacks 2017-06-27 21:40:00 -07:00
Kyle Shockey
0ee3bccc08 Nullify Swagger 2.0-specific selectors 2017-06-17 14:39:45 -07:00
Kyle Shockey
716e0b865b Adjust style 2017-06-16 01:18:21 -07:00