Commit Graph

138 Commits

Author SHA1 Message Date
kyle
bfb4c7a8d7 Merge branch 'master' into feature/spec-path 2017-12-07 16:49:34 -08:00
Kyle Shockey
6f5649c6ba Only set the first server as current if we...
...don't already have a currentServer.

This avoids having the selected server reset each time the
operation is expanded, or the Try-It-Out mode is entered.
2017-11-30 17:28:35 -08:00
Kyle Shockey
0f86524514 Don't render if there are no servers defined 2017-11-30 17:11:49 -08:00
Kyle Shockey
ef3ccd7a23 Move server styles into its own scss file; add a little polish 2017-11-30 17:06:17 -08:00
Kyle Shockey
0c0c9a6519 LESS bugs 2017-11-30 16:49:26 -08:00
Kyle Shockey
945d7a3a0f Basic OperationServers wireup 2017-11-30 16:34:36 -08:00
Kyle Shockey
efd02106a2 Support namespaces in OAS3 server state 2017-11-30 15:57:37 -08:00
Kyle Shockey
7e9d8f0b37 Wire up OperationServers passthrough 2017-11-30 15:30:46 -08:00
Kyle Shockey
5d3efbb5f7 Display option level information in message, not header 2017-11-30 14:37:26 -08:00
Kyle Shockey
0997c5e5d4 Remove hardwired "Server" header, make global one prettier 2017-11-30 14:34:01 -08:00
Kyle Shockey
21ff236e43 Basic OperationServers display 2017-11-30 14:25:05 -08:00
Kyle Shockey
07a9410ee5 Create OperationServers component 2017-11-30 14:07:42 -08:00
Kyle Shockey
25b9fb28dc Move Server Variables header to a more sensible location 2017-11-30 13:50:39 -08:00
Greg Thompson
8ff2d77398 Merge branch 'master' into ft/3052-extensions 2017-11-20 09:48:33 -06:00
Kyle Shockey
26eb07da33 Linter fixes 2017-11-17 18:52:39 -08:00
Kyle Shockey
33f8338560 Prevent RequestBody from accessing a media type that ceased to exist 2017-11-17 18:45:19 -08:00
Kyle Shockey
200b361328 Recalculate example value when requestBody value changes 2017-11-17 17:20:01 -08:00
Kyle Shockey
f44dfebd2a Add empty string tag for Callback operations 2017-11-17 16:15:43 -08:00
Kyle Shockey
84db66eb94 Rewire Callbacks usage of Operation to match new interface 2017-11-17 14:43:14 -08:00
Kyle Shockey
ed76a10431 Linter fixes 2017-11-16 23:19:57 -08:00
Kyle Shockey
054961bfc7 Merge branch 'ft/performance' into bug/3904-operation-not-updating 2017-11-16 18:55:17 -08:00
Greg Thompson
91dab7b166 getConfigs prop expansion; limit extension render based on config setting 2017-11-09 10:22:41 -06:00
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
Josh Ponelat
49d15e2a6f add specPath to parameters/requstBody 2017-11-03 17:50:47 +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
Owen Conti
b15942dfe1 Merge branch 'ft/performance' of github.com:swagger-api/swagger-ui into ft/performance
# Conflicts:
#	src/core/components/responses.jsx
2017-10-22 12:55:51 -06: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
Owen Conti
6f98fa9f3b Fixes after merge with ft/3584 branch 2017-09-15 22:31:02 -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