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
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
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
Kyle Shockey
8f7b582f95
Improve junk data handling
2017-11-06 22:09:20 -08:00
Kyle Shockey
533fd75501
Deprecate authSelectors.getDefinitionsByNames
2017-11-06 21:53:57 -08:00
Kyle Shockey
cfc030d07d
Rework filtering logic for definitionsForRequirements
2017-11-06 21:13:14 -08:00
Kyle Shockey
21bf5919a9
Rewire AuthorizeOperationBtn; create new selector for filtering definitions
2017-11-06 20:42:47 -08: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
2caca555b1
Merge branch 'master' into bug/3816-oas3-authorize-always-showing
2017-10-26 15:49:05 -07:00
Kyle Shockey
7159649501
Return null instead of empty ImmutableMap in OAS3 securityDefinitions selector
2017-10-26 15:32:14 -07:00
Kyle Shockey
26428cd63b
Provide interceptors to SwaggerClient.resolve
2017-10-26 14:51:00 -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
Owen Conti
be209841f6
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/performance
2017-10-22 12:37:10 -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
897362a301
Merge branch 'master' into bug/auth-display-regression
2017-10-13 21:27:43 -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
98b36bdbd2
Moar whitespace
...
This was messing up my editor's syntax highlighting
2017-10-12 13:10:10 -07:00
Owen Conti
7344315c34
Added tests for isOAS3 in validateParam function.
2017-10-11 18:34:24 -06:00
Kyle Shockey
8b81bcac48
OAS3 Auth MVP
2017-10-11 16:58:24 -07:00
kyle
37aead915e
Merge branch 'master' into ft/spec-download-interception
2017-10-09 18:07:08 -07:00
Kyle Shockey
74165f5292
Pass configuration interceptors to spec download fetch
2017-10-09 12:10:41 -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
Owen Conti
9f5a307fce
Merge branch 'ft/performance' into ft/3584-operation-container-component
...
# Conflicts:
# src/core/components/operation.jsx
# src/core/components/operations.jsx
# src/core/components/responses.jsx
2017-09-15 22:03:14 -06:00
Owen Conti
46b5ae6070
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/performance
2017-09-15 21:53:00 -06:00
Kyle
fa312cb70d
Merge branch 'master' into bug/oas3-accept-controls
2017-09-15 20:11:20 -07:00
Owen Conti
a6e070ac76
Replace spaces with underscores when setting the hash value and inserting the ID into the DOM. Escape the deep link path when querying for the DOM element on hash change.
2017-09-13 21:32:46 -06:00
Owen Conti
430e2a970f
Fixes #3596
...
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
2017-09-13 17:20:37 -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
d14ae62aa5
Parse JSON requestBodies so Client can consume them correctly
2017-09-05 15:07:55 -07:00
Kyle Shockey
7a2c7d2cdc
Squash commit: OAS3 Try-It-Out changes
2017-09-05 13:59:31 -07:00