Commit Graph

155 Commits

Author SHA1 Message Date
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
Eric Turcotte
badfea61c3 Renamed authorizeAccessCodeWithQueryParams->authorizeAccessCodeWithFormParams
since that is technically correct
2017-07-13 10:53:36 -05:00
Eric Turcotte
fc8ad8168d Renamed authorizeAccessCode() to authorizeAccessCodeWithQueryParams()
Added authorizeAccessCodeWithBasicAuthentication() that sends the client_id and
client_secret using HTTP basic authentication

    Authorization: Basic base64encoded[client_id:client_secret]

According to the OAuth2 spec, this is the preferred method.  It also enables
Authorization Servers that only support basic authentication during the
authorization_code grant.

https://tools.ietf.org/html/rfc6749#section-2.3.1
2017-07-12 23:32:29 -05: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
cf12091d93 Add filter to layout state 2017-07-11 21:33:14 -07:00
Owen Conti
7000c20765 Moved split-pane-mode.less file into a .scss file. Removed remaining unused .less files. Removed reference to less file in webpack config. Removed dependency on less-loader. Updated standalone and bundle builds to no longer compile any styles. 2017-07-11 20:17:06 -06:00
Kyle Shockey
f0332d9cb5 add isSwagger2 selector 2017-07-06 11:19:51 -07:00
Kyle Shockey
0ebea56f90 Display example values for Request Bodies 2017-07-05 17:00:07 -07:00
Kyle Shockey
189f048e91 Stashed: move anyOf/oneOf/not into core 2017-07-05 15:18:50 -07:00
Kyle Shockey
4e80e292b2 Merge branch 'master' into ft/oas3 2017-07-04 23:50:00 -07:00
Kyle Shockey
8ed43a1329 Ensure OAS3 Markdown fields are sanitized 2017-07-04 19:12:43 -07:00
Kyle Shockey
60701962b8 Nullify Schemes selector in OAS3 2017-07-03 19:03:53 -07:00
Kyle Shockey
1970b2c410 Disable Online Validation badge for OAS3 2017-07-03 19:02:03 -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
Kyle Shockey
50c0d39418 MOAR alignment 2017-06-29 23:26:33 -07:00
Kyle Shockey
61de35d69c Render request bodies correctly (minus Example Value + editable functionality) 2017-06-29 23:16:54 -07:00
shockey
b72aa3a7c8 Merge branch 'master' into webpack-migration-2.x 2017-06-29 18:23:36 -07:00
shockey
afaa5619bb Merge branch 'master' into bug/3072-error-response-fixes 2017-06-29 17:20:09 -07:00
RVKen
d36f0a6dbd fix eslint issues 2017-06-29 04:37:19 +02:00
Kyle Shockey
2b37e7c2e4 Render markdown more normally 2017-06-28 19:28:30 -07:00
Kyle Shockey
6e301aaa80 Don't allow Try It Out in callbacks 2017-06-27 21:42:59 -07:00
Kyle Shockey
b1956d0b46 Remove Headers from Link display 2017-06-27 21:41:36 -07:00
Kyle Shockey
fc26ffb78f Hide Callbacks operation tab if there are no callbacks 2017-06-27 21:40:00 -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
fe60544ff7 Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/3135-request-duration 2017-06-26 19:58:07 -06:00
shockey
8d4750d76c Merge branch 'master' into ft/3289-boolean-default-value 2017-06-26 18:11:35 -07:00
Owen Conti
61d874d484 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3072-error-response-fixes 2017-06-26 16:32:52 -06: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
8b073757fe #3289 - Update boolean sample function to accept schema object and return value based off of schema's default value (if exists) 2017-06-25 09:59:12 -06:00
Owen Conti
7049a5960c #3135 - Add request duration to response details 2017-06-25 09:16:35 -06:00
shockey
2e2c19ebc1 Merge branch 'master' into file-sample 2017-06-23 18:10:04 -07:00
Josh Ponelat
ff16ecd99a Fix mis-use of findIndex ( these really must be tested ) 2017-06-22 09:01:41 +02:00
Derek Wickern
34c57fb018 Disable sample response for file transfer 2017-06-20 10:18:42 -07:00
Josh Ponelat
0e4d04650d Fixes for IE11, wrt to instance methods 2017-06-19 18:29:45 +02:00
Kyle Shockey
0ee3bccc08 Nullify Swagger 2.0-specific selectors 2017-06-17 14:39:45 -07:00
Kyle Shockey
716e0b865b Adjust style 2017-06-16 01:18:21 -07:00
Kyle Shockey
9dc9a857b7 Squash commit: Links reimplementation; OAS interface improvements 2017-06-16 00:29:23 -07:00
Kyle Shockey
e415ec7f8a Add schema object deprecation display 2017-06-14 00:59:36 -07:00
Anna Bodnia
bbf93c5e1f #3172 added Access-Control-Allow-Origin for auth requests 2017-06-08 14:06:30 +03:00
Anna Bodnia
36b263e230 fixes #3172 2017-06-08 12:19:47 +03:00
Kyle Shockey
09148e478c Remove switching logic from spec specSelector 2017-06-05 20:04:52 -07:00
Kyle Shockey
840e1742d9 Use <Operation> in callbacks 2017-06-02 14:41:20 -07:00
Kyle Shockey
ccda3df4be Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3 2017-06-06 14:11:20 -07:00
Kyle Shockey
7deff73eea (Actually) display callbacks 2017-06-01 09:34:42 -07:00
Kyle Shockey
ff39d075ff Provide system as props to OAS3 wrapper components 2017-06-01 00:12:36 -07:00