Kyle Shockey
26428cd63b
Provide interceptors to SwaggerClient.resolve
2017-10-26 14:51:00 -07:00
Owen Conti
7344315c34
Added tests for isOAS3 in validateParam function.
2017-10-11 18:34:24 -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
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
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
7a694e287a
Change name format to in.name and update tests
2017-08-03 19:29: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 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
shockey
d8ba716da8
Merge branch 'master' into feature/apisSorter
2017-07-13 21:08:47 -07:00
Kyle Shockey
e6c8eb3c61
Pass tag names to tagsSorter instead of taggedOperations values
2017-07-13 21:02:37 -07:00
Kyle Shockey
571d65a582
apisSorter -> tagsSorter
...
"tags", not "tag", because it sorts the tags themselves, not the content of each tag.
2017-07-13 20:36:08 -07:00
Owen Conti
991ae66b39
Fixes #3375 - Change order of logic for selecting requestContentType to prioritize consumes_value first
2017-07-12 19:56:11 -06:00
Kyle Shockey
4e80e292b2
Merge branch 'master' into ft/oas3
2017-07-04 23:50:00 -07:00
shockey
54f0c067b8
Merge branch 'master' into feature/apisSorter
2017-07-03 17:39:03 -07:00
Alexander Kogan
0b4cef3ca8
fixing tag order to be in the same order as definition file
2017-07-02 19:59:20 +03:00
Raphaël MARQUES
cb9ca7d4bf
Merge branch 'master' into feature/apisSorter
2017-06-30 09:01:28 +02:00
shockey
afaa5619bb
Merge branch 'master' into bug/3072-error-response-fixes
2017-06-29 17:20:09 -07:00
Raphaël MARQUES
24bc8c4b85
Complying with CI
2017-06-27 16:45:23 +02:00
Raphaël MARQUES
4fe27786f4
Adding apisSorter options, taking a string or a function as a configuration value
2017-06-27 15:29:07 +02:00
Owen Conti
ddb5704637
#3072 - Display response body and headers for requests that result in non-200 responses. Add test to ensure error and response are merged correctly
2017-06-25 13:28:14 -06:00
Owen Conti
7049a5960c
#3135 - Add request duration to response details
2017-06-25 09:16:35 -06:00
Josh Ponelat
ff16ecd99a
Fix mis-use of findIndex ( these really must be tested )
2017-06-22 09:01:41 +02:00
Josh Ponelat
0e4d04650d
Fixes for IE11, wrt to instance methods
2017-06-19 18:29:45 +02:00
Kyle Shockey
9dc9a857b7
Squash commit: Links reimplementation; OAS interface improvements
2017-06-16 00:29:23 -07:00
Kyle Shockey
09148e478c
Remove switching logic from spec specSelector
2017-06-05 20:04:52 -07:00
Anna Bodnia
d5b9552a5a
removed debugger
2017-05-22 17:13:31 +03:00
Anna Bodnia
edfe88d299
modelPropertyMacro, parameterMacro
2017-05-19 18:50:51 +03:00
Kyle Shockey
599b448f91
Revert "fixes #2922 "
...
This reverts commit 496062f980 .
2017-05-13 10:15:38 -07:00
Kyle Shockey
6e40d04741
take advantage of Swagger-Client opId improvements
2017-05-13 09:50:34 -07:00
Anna Bodnia
496062f980
fixes #2922
2017-05-10 17:03:18 +03:00
Anna Bodnia
4963c3016c
merge
2017-04-19 11:28:35 +03:00
shockey
754d57396a
Merge branch 'master' into bug/2919-relative-spec-infer-scheme
2017-04-18 19:55:29 -07:00
Kyle Shockey
8b78d9bd13
Default to no scheme if we can't find an assigned scheme
2017-04-18 18:13:52 -07:00
Kyle Shockey
35769f9b47
Fix #2918 ; add control/test tests
2017-04-18 11:20:15 -07:00
Anna Bodnia
8e64c866e8
operationsSorter config
2017-04-18 19:06:15 +03:00
Kyle Shockey
48e0cb10b5
Revert "Fix bug where reducer dies on empty operation"
...
This reverts commit 08b3c38b8a .
2017-04-14 21:00:56 -07:00
Kyle Shockey
08b3c38b8a
Fix bug where reducer dies on empty operation
2017-04-14 17:15:27 -07:00
Kyle Shockey
5be31ac909
Pass around contextUrl correctly
2017-04-13 19:24:02 -07:00
Kyle Shockey
fce0916dca
Merge branch 'bug/2760-infer-host' into bug/2904-try-it-out
2017-04-13 19:12:39 -07:00
Kyle Shockey
4c1a5488bb
Parse spec url when deciding scheme for operation
2017-04-13 17:26:47 -07:00
Kyle Shockey
e2b1757f8f
Infer contextUrl through documentation scheme + host if spec url is relative
2017-04-07 20:51:07 -07:00
Kyle Shockey
40ccf6aa98
Send spec url to swagger-client
2017-03-25 00:35:52 -07:00
Kyle Shockey
e1fcbfbf09
Linter error fixes
2017-03-23 16:36:45 -07:00
Josh Ponelat
3a2185c158
remove double-encoding of response (ie: serializeRes )
2017-03-19 08:38:16 +02:00
Josh Ponelat
2479b8cdde
ensure live-response headers exist
2017-03-19 08:37:56 +02:00
Ron
f22a628934
in with the new
2017-03-17 21:17:53 -07:00