Commit Graph

350 Commits

Author SHA1 Message Date
Kyle Shockey
7faf79ae38 Fix deepLinking scroll behavior 2017-12-16 00:28:53 -08:00
Kyle Shockey
49333dfadc Merge branch 'master' of github.com:swagger-api/swagger-ui into feature/small-tweaks 2017-12-15 17:22:03 -08:00
Kyle Shockey
a2f8d289a0 Fix error transformer imports 2017-12-15 14:17:12 -08:00
Kyle Shockey
2dd25abbdd Move initOAuth attacher out of core constructor 2017-12-15 14:16:44 -08:00
Kyle Shockey
85c83931c4 Move configs plugin to core 2017-12-14 20:17:31 -08:00
Kyle Shockey
b5c713a72b Eliminate require.context usage 2017-12-14 20:17:31 -08:00
Kyle Shockey
ca7f7ea78b Stop using require.context in error transformers 2017-12-14 20:17:31 -08:00
kyle
a94c6c0e7f Merge branch 'master' into feature/deeplink-zenscroll 2017-12-11 19:05:16 -08:00
kyle
059520e819 Merge branch 'master' into oas-301-support 2017-12-07 17:43:33 -08:00
Kyle Shockey
3b35b0767e Accept OpenAPI 3.* 2017-12-07 17:42:49 -08:00
kyle
bfb4c7a8d7 Merge branch 'master' into feature/spec-path 2017-12-07 16:49:34 -08:00
kyle
70ba6a93ef Merge branch 'master' into bug/3982-oas3-trace-method 2017-12-07 14:03:11 -08:00
Kyle Shockey
328f02c463 Move method filtering logic to Operations component 2017-12-07 14:00:47 -08:00
keik
372b1c6a6a Fix case style 2017-12-06 15:29:34 +09:00
Josh Ponelat
c260263e4e fix issues with deeplink conflicts 2017-12-04 16:10:43 +02:00
Josh Ponelat
3893cb4396 deep linking for models, operations and tags 2017-12-04 16:10:42 +02:00
Josh Ponelat
f6b86d2d33 Refactor layout .show/.isShown to handle branch nodes 2017-12-04 16:09:24 +02:00
Kyle Shockey
bb57fd2406 Send server variables to Client as JS objects 2017-11-30 20:11:30 -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
d7d061b5af Provide operation server data to Swagger-Client 2017-11-30 17:26:49 -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
Kyle Shockey
2325118540 Add responseInterceptor as well 2017-11-29 15:55:15 -06:00
Kyle Shockey
ade47ca40e Add requestInterceptor to OAuth2 request authorization calls 2017-11-29 15:54:17 -06:00
Greg Thompson
8ff2d77398 Merge branch 'master' into ft/3052-extensions 2017-11-20 09:48:33 -06:00
kyle
1d286394ec Merge branch 'master' into uri-encoded-scopes-fix 2017-11-17 20:59:47 -08: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
44bd85a5bb Wrap container components in render protection 2017-11-17 18:26:07 -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
d28bf86129 Skip toJS() call in default mapStateToProps function 2017-11-16 21:38:41 -08:00
Kyle Shockey
2ce199c151 Ensure that connected containers get a System in mapStateToProps props
This will allow us to avoid system utility handaround in
connected containers.
2017-11-16 20:16:45 -08:00
Kyle Shockey
054961bfc7 Merge branch 'ft/performance' into bug/3904-operation-not-updating 2017-11-16 18:55:17 -08:00
kyle
6041c419c9 Merge branch 'master' into uri-encoded-scopes-fix 2017-11-14 15:18:41 -08:00
Greg Thompson
0d0b3279bb Merge branch 'master' into ft/3052-extensions 2017-11-13 09:29:19 -06:00
kyle
6a2659c5d0 Merge branch 'master' into ft/big-spec-performance 2017-11-09 19:17:37 -08:00
Kyle Shockey
f4f3b25d8f Create newSpecErrBatch for more wealth and prosperity 2017-11-09 16:48:22 -08:00
Greg Thompson
91dab7b166 getConfigs prop expansion; limit extension render based on config setting 2017-11-09 10:22:41 -06:00