Commit Graph

544 Commits

Author SHA1 Message Date
Kyle Shockey
21bf5919a9 Rewire AuthorizeOperationBtn; create new selector for filtering definitions 2017-11-06 20:42:47 -08:00
Kyle Shockey
d5d7e45d62 Indent XML with 2 spaces 2017-11-03 18:13:17 -07:00
kyle
4315cf6b94 Merge branch 'master' into bug/validation-messages 2017-11-03 17:17:21 -07:00
kyle
b584837f42 Merge branch 'master' into master 2017-11-03 17:12:35 -07:00
Josh Ponelat
44361d1cbb add specSelectors.hasHost for OAS3 2017-11-03 17:58:15 +02:00
kyle
09b37428c2 Merge branch 'master' into ft/property-component 2017-11-02 17:51:59 -07:00
kyle
c50abd8cc9 Merge branch 'master' into bearer-dialog-fix 2017-11-02 16:58:36 -07:00
kyle
466158af08 Merge branch 'master' into feature/configsPlugin 2017-11-02 16:53:21 -07:00
Kyle Shockey
17e6d81504 Format XML with xml-but-prettier 2017-11-02 15:13:10 -07:00
Greg Thompson
4b453e3535 use property component in array-model and primitive-model 2017-11-02 15:20:20 -05:00
Greg Thompson
0c41155100 adds new property display component 2017-11-02 15:19:38 -05:00
kyle
a95f138da7 Merge branch 'master' into feature/configsPlugin 2017-11-01 20:56:58 -07:00
HelderSepu
034ebb021c Remove redundant Boolean call 2017-11-01 22:00:39 -04:00
Helder Sepulveda
7fd1a03c1d Merge branch 'master' into bug/slow-formatXml 2017-11-01 21:52:45 -04:00
HelderSepu
f600fe8dbb Simplify formatXml 2017-11-01 21:48:18 -04:00
Helder Sepulveda
87bbb9eb9f Merge branch 'master' into bug/validation-messages 2017-11-01 09:33:00 -04:00
Helder Sepulveda
d73715f1fa Merge branch 'master' into master 2017-11-01 09:32:49 -04:00
Kyle Shockey
1aa1907128 Check for input type and string length before sanitizing a URL 2017-10-31 12:35:08 -07:00
Kyle Shockey
afa615e01d Add URL sanitizer to avoid javascript: XSS attack vector 2017-10-30 17:43:23 -07:00
Helen Kosova
73371b4f9c Removed redundant "In:" label from Bearer auth dialog 2017-10-30 21:01:40 +03:00
HelderSepu
ec2179f019 Fix issue with the error messages
Many of the errors where incorrectly showing "Required field is not
provided" when the field was provided but not valid.
This was raised by @ron on PR #3825
2017-10-28 16:21:40 -04:00
Helder Sepulveda
9840abeccc Merge branch 'master' into master 2017-10-28 11:56:56 -04:00
kyle
ba6e8d14a3 Merge branch 'master' into bug/3818-definitions-to-authorize-cache-invalidation 2017-10-27 23:55:25 -07:00
Kyle Shockey
2157988212 Don't reach into schema for value 2017-10-27 23:31:47 -07:00
Kyle Shockey
109f7ed430 memoize definitionsToAuthorize based on securityDefinitons value 2017-10-27 22:41:27 -07:00
Kyle Shockey
79ddae1526 Pass correct schema values to parameter state builder for OAS3 2017-10-27 22:23:11 -07:00
Helder Sepulveda
509037c6c0 Merge branch 'master' into master 2017-10-27 15:53:23 -04:00
kyle
2caca555b1 Merge branch 'master' into bug/3816-oas3-authorize-always-showing 2017-10-26 15:49:05 -07:00
Kyle Shockey
7159649501 Return null instead of empty ImmutableMap in OAS3 securityDefinitions selector 2017-10-26 15:32:14 -07:00
Kyle Shockey
26428cd63b Provide interceptors to SwaggerClient.resolve 2017-10-26 14:51:00 -07:00
Josh Ponelat
50b318c5d9 Create a configs plugin
This starts to migrate configs to state
2017-10-25 09:59:54 +02:00
HelderSepu
43c5d9a8c9 Revert "Add objectCheck"
This reverts commit 87d11f99dd.
2017-10-24 18:35:28 -04:00
HelderSepu
87d11f99dd Add objectCheck
Squeeze fix for required object on this PR
2017-10-24 17:49:56 -04:00
HelderSepu
efa468bac5 remove semicolon 2017-10-21 13:20:48 -04:00
HelderSepu
ac24f4376b Add validatePattern & UnitTest 2017-10-21 13:04:53 -04:00
Kyle Shockey
7c917325f0 Linter fixes 2017-10-20 19:31:52 -07:00
kyle
6d22e38a04 Merge branch 'master' into ft/oas3-authorization 2017-10-20 19:07:38 -07:00
Kyle Shockey
631e69f6f8 Pass parameter.schema as schema in OAS 3.0
Parameters were restructured in OAS 3.0; schemas are no longer at
the top level of parameters. Adjusting to account for the change.
2017-10-20 16:01:26 -07:00
Kyle Shockey
c9674a1fc5 Refactor Auths component flow; create component that supports HTTP auths 2017-10-18 21:23:28 -07:00
Mark H. Wilkinson
e1a7af4c92 Fix regression with rendering links in Markdown. 2017-10-16 14:40:07 +01:00
kyle
897362a301 Merge branch 'master' into bug/auth-display-regression 2017-10-13 21:27:43 -07:00
Kyle Shockey
d677e534c3 WIP 2017-10-13 21:23:45 -07:00
kyle
a03bcbdaf4 Well, it's "authorization" not "authentication". 2017-10-12 14:58:11 -07:00
kyle
6815f1d7bb Merge branch 'master' into bug/auth-display-regression 2017-10-12 13:18:00 -07:00
Kyle Shockey
6cf6a85637 Capture state in isAuthorized wrapAction 2017-10-12 13:10:56 -07:00
Kyle Shockey
98b36bdbd2 Moar whitespace
This was messing up my editor's syntax highlighting
2017-10-12 13:10:10 -07:00
Owen Conti
3ac24da271 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3747-oas3-validate-param 2017-10-11 19:19:51 -06:00
Owen Conti
7344315c34 Added tests for isOAS3 in validateParam function. 2017-10-11 18:34:24 -06:00
Kyle Shockey
8b81bcac48 OAS3 Auth MVP 2017-10-11 16:58:24 -07:00
Owen Conti
a0f8f9a05d Fixes #3747
Update `validateParam` to handle OAS3 parameters.
2017-10-11 17:46:38 -06:00