Commit Graph

27 Commits

Author SHA1 Message Date
Kyle Shockey
ca0b248df2 Prevent non-object values from being dispatched as new JSON content 2017-12-22 23:19:10 -06: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
keik
372b1c6a6a Fix case style 2017-12-06 15:29:34 +09:00
Kyle Shockey
bb57fd2406 Send server variables to Client as JS objects 2017-11-30 20:11:30 -08:00
Kyle Shockey
d7d061b5af Provide operation server data to Swagger-Client 2017-11-30 17:26:49 -08:00
Kyle Shockey
26428cd63b Provide interceptors to SwaggerClient.resolve 2017-10-26 14:51:00 -07:00
Josh Ponelat
c6f354ae6c clean up spec actions a bit 2017-10-25 09:39:44 +02:00
Josh Ponelat
84cc9489d4 fix typo with clear_validate_params 2017-10-25 09:39:31 +02: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
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
shockey
afaa5619bb Merge branch 'master' into bug/3072-error-response-fixes 2017-06-29 17:20:09 -07: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
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
6e40d04741 take advantage of Swagger-Client opId improvements 2017-05-13 09:50:34 -07:00
Kyle Shockey
5be31ac909 Pass around contextUrl correctly 2017-04-13 19:24:02 -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
Ron
f22a628934 in with the new 2017-03-17 21:17:53 -07:00