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
Kyle
56ff3afc5d
Merge pull request #3565 from owenconti/ft/map-state-to-props-for-components
...
`mapStateToProps` for container components
2017-08-21 17:09:00 -07:00
Owen Conti
050f4d1918
Clean up OperationContainer props.
2017-08-20 17:02:51 -06:00
Owen Conti
2946baf2bd
Merge branch 'master' into ft/3584-operation-container-component
2017-08-20 08:07:15 -06:00
Owen Conti
c0185ca6e2
Merge branch 'master' into ft/map-state-to-props-for-components
2017-08-14 18:46:11 -06:00
Mike Gilbode
087ed20384
Add support for requestInterceptor / responseInterceptor.
...
- Display mutated requests from request interceptor in curl output in UI.
Put this behind showMutatedRequest flag so that the mutation can be
silent.
- Document requestInterceptor, responseInterceptor and showMutatedRequest
in README.md
- Add tests
2017-08-13 01:14:41 -04:00
Owen Conti
d9b0632d16
Add ability for container components to register their own mapStateToProps function.
2017-08-11 16:01:01 -06:00
Kyle Shockey
b464d2c977
pass entire config to recursive sample calls
2017-08-10 18:39:43 -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
19e09c2296
Merge branch 'master' into bug/3500-missing-name-for-primitives
2017-08-04 16:27:25 -07:00
Owen Conti
5d7d20ec5e
Merge branch 'master' into bug/3511-query-formData-parameters
2017-08-03 19:30:50 -06:00
Owen Conti
7a694e287a
Change name format to in.name and update tests
2017-08-03 19:29:49 -06:00
Kyle Shockey
15b70b6f2d
Set writeOnly flags in correct places
2017-08-03 17:42:04 -07:00
Kyle Shockey
9af5d2dc66
Add writeOnly support to sampleFromSchema; add tests for the same
2017-08-03 17:23:16 -07:00
Kyle Shockey
5e96821c05
Add writeOnly logic
2017-08-03 17:13:38 -07:00
Aaron Loo
700d547529
merge master
2017-08-03 07:32:32 -07:00
Owen Conti
053d032e94
Merge branch 'master' into bug/3511-query-formData-parameters
2017-08-02 22:37:49 -06:00
Owen Conti
51016c33f4
Attach in value to parameters map so parameters with the same name from different in types do not override each other.
2017-08-02 22:37:31 -06: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
Kyle
b8cf502cfc
Merge branch 'master' into master
2017-08-02 15:58:34 -07:00
Kyle
c2a1fa9d8f
Merge branch 'master' into bug/3500-missing-name-for-primitives
2017-08-01 19:59:28 -07:00
Owen Conti
d64dfc4252
Fixes #3500 - Fix missing names for primitive models
2017-08-01 20:46:41 -06:00
Kyle
b329b03464
Merge branch 'master' into support-basic-auth-for-authorization-code-grant
2017-08-01 16:52:04 -07:00
oysteinsigholt
230f4a8467
add domNode parameter
2017-08-01 11:11:10 +02: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
f7018bc78f
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3
2017-07-28 19:13:24 -07:00
Aaron Loo
860d356178
remove CORS header in request
2017-07-28 10:15:05 -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
shockey
5affa2572d
Merge branch 'master' into fix-oauth2-password-flow
2017-07-20 16:46:49 -07:00
Kyle Shockey
2ef7b2ad8d
Remove path translator
2017-07-18 20:32:09 -07:00
TANAKA Koichi
0bc382b78a
Fix oauth2 password flow
...
fix filed name for scope of grant request body.
2017-07-18 16:52:29 +09:00