Commit Graph

1235 Commits

Author SHA1 Message Date
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
shockey
ff9e164d11 Merge branch 'master' into feature/3300-updated-version-info 2017-07-13 13:34:07 -07:00
Eric Turcotte
a09e0b8b4a Removed semicolon 2017-07-13 11:16:47 -05:00
Eric Turcotte
badfea61c3 Renamed authorizeAccessCodeWithQueryParams->authorizeAccessCodeWithFormParams
since that is technically correct
2017-07-13 10:53:36 -05:00
Eric Turcotte
b06971bf81 If config useBasicAuthenticationWithAccessCodeGrant is truthy, send client id
and secret as HTTP basic auth during authorization_code grant
2017-07-12 23:35:34 -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
66c8778a29 Remove obsolete prop from validation 2017-07-11 22:05:38 -07:00
Kyle Shockey
28f7a15fe9 Use state instead of component hand-down for managing filter 2017-07-11 21:54:56 -07:00
Kyle Shockey
cf12091d93 Add filter to layout state 2017-07-11 21:33:14 -07:00
shockey
7cfc7cb4fc Merge branch 'master' into filter 2017-07-11 21:20:22 -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
Owen Conti
bd31d3dedf Reimplemented changes after merge with master 2017-07-11 17:02:53 -06:00
Raphaël MARQUES
d27962c0da Merge branch 'master' into feature/apisSorter 2017-07-11 21:13:45 +02:00
Raphaël MARQUES
297ee61038 Update index.js 2017-07-11 21:13:30 +02:00
Owen Conti
6beaaca6e6 Fixes #3361 - Check for null and undefined values in validateParam 2017-07-10 19:46:32 -06:00
shockey
025ec662c0 Merge branch 'master' into bug/3102-unguarded-expressions 2017-07-10 18:42:18 -07:00
Owen Conti
914b21f228 Revert back to the 'breaks' fix for newlines in markdown content 2017-07-10 19:23:18 -06:00
Owen Conti
b11399a57e Revert original fix and implement fix from @1Map 2017-07-10 17:39:05 -06:00
Minasokoni
fe200f8616 styling updates 2017-07-11 09:46:44 +12:00
Gwyn Judd
c3f9c094d1 Added maxRows and filter support
Useful for the display of very large swagger specs. Can limit the number of operations to a smaller value and search
2017-07-11 09:38:20 +12:00
Owen Conti
d8400f8729 Fixes #3300 - Updates to versions.swaggerUi information 2017-07-09 14:17:18 -06:00
Owen Conti
48f11a172a Fixes #2903 - Fix CSS imports so body and html styles are included from .scss files. Update body selector to have a font-family 2017-07-08 11:33:34 -06:00
Owen Conti
5d9ab6a0a2 Fixes #3078 - Added breaks: true to Remarkable so newlines are rendered as line breaks. Remove margin-top from <p> tags within .model elements to fix the alignment in the model's description text. 2017-07-08 10:48:52 -06:00
Ron
fe9af65793 Merge branch 'master' into feature/apisSorter 2017-07-07 15:31:18 -07:00
shockey
0f961b7162 Merge branch 'master' into bug/3271-fix-trim-with-non-json-parameters 2017-07-07 15:31:14 -07:00
shockey
f5b299f4f5 Merge branch 'master' into bug/3309-required-file-inputs 2017-07-07 15:11:43 -07:00
Ron
3c5ad11d09 Merge branch 'master' into bug/3271-fix-trim-with-non-json-parameters 2017-07-07 15:10:49 -07:00
sharkpp
ff41b30171 fixing Non-ascii character class name
Fixed to LATIN SMALL LETTER A because class name contained CYRILLIC
SMALL LETTER A.
2017-07-08 01:19:03 +09:00
Owen Conti
c1ffd9ee08 Fixes #3271 - Only trim parameter values if the parameter's content type is JSON. Change default value of parameter inputs to be '{}' only if the parameter's content type is JSON 2017-07-06 19:54:10 -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
Raphaël MARQUES
aa07bb6b50 Complying with request for changes 2017-07-04 09:18:58 +02:00
Raphaël MARQUES
8ce2b309d8 Complying with request for changes 2017-07-04 09:15:43 +02: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
Owen Conti
03961ad189 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3309-required-file-inputs 2017-07-03 18:57:41 -06:00
shockey
54f0c067b8 Merge branch 'master' into feature/apisSorter 2017-07-03 17:39:03 -07:00
Owen Conti
718658e837 Fix for non-required inputs 2017-07-03 18:12:39 -06:00
Owen Conti
dd1b87e3d7 Fixes #3309 - Add same styles as regular input elements to file inputs. Add test for validating file type. 2017-07-03 18:04:49 -06:00
Owen Conti
6fd5839103 Fix PropTypes in model-collapse component 2017-07-03 16:27:47 -06:00
Owen Conti
15e105c931 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3102-unguarded-expressions
# Conflicts:
#	src/core/components/model.jsx
#	src/core/components/models.jsx
2017-07-03 16:12:31 -06:00
Kyle Shockey
109027935f Hide main Responses ContentType picker for OAS3 2017-07-02 23:16:26 -07:00
Kyle Shockey
1e40a20e07 Add switching logic for each Response Code to have its own content types 2017-07-02 23:02:44 -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