Commit Graph

180 Commits

Author SHA1 Message Date
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
Owen Conti
b1605a0177 Merge branch 'master' into bug/3329-duplicate-css
# Conflicts:
#	make-webpack-config.js
2017-07-17 18:49:19 -06:00
Kyle Shockey
11c34d0348 Add docs 2017-07-14 03:25:10 -07:00
Kyle Shockey
2906bdd699 Fire layout updates before attempting to scroll (improves docExpansion:none support) 2017-07-14 02:45:40 -07:00
Kyle Shockey
8851b138f9 Add config switch for deep linking 2017-07-14 00:51:26 -07:00
Kyle Shockey
41ecceed87 Rewire operation/tag DOM ids; implement hash scroll-to 2017-07-14 00:46:21 -07:00
Kyle Shockey
79f91b2e3e Rearrange isShownKey to make more sense
Tag then ID is closer to representing the underlying data structure
2017-07-14 00:19:02 -07:00
Kyle Shockey
d7f6355d85 add setHash helper 2017-07-14 00:08:47 -07:00
Kyle Shockey
617cf7c867 Update URL fragment when operations & tags are shown or hidden 2017-07-13 23:24:19 -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
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