Kyle Shockey
40bd720eb4
Correctly validate OAS3 parameters that lack a schema
2017-11-28 22:19:53 -06:00
Greg Thompson
0d0b3279bb
Merge branch 'master' into ft/3052-extensions
2017-11-13 09:29:19 -06:00
Kyle Shockey
365585ceea
Add check for 0 value for number and integer parameter values
2017-11-10 10:45:19 -08:00
Greg Thompson
a58cd25f08
Merge branch 'master' into ft/3052-extensions
2017-11-06 09:18:51 -06:00
Greg Thompson
44c422eba3
parameter extensions display
2017-11-06 09:17:30 -06: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
Kyle Shockey
17e6d81504
Format XML with xml-but-prettier
2017-11-02 15:13:10 -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
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
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
Owen Conti
7344315c34
Added tests for isOAS3 in validateParam function.
2017-10-11 18:34:24 -06:00
Owen Conti
a0f8f9a05d
Fixes #3747
...
Update `validateParam` to handle OAS3 parameters.
2017-10-11 17:46:38 -06:00
Kyle Shockey
012313e236
Handle cases where maximum and minimum are 0
2017-09-28 17:59:07 -07:00
kyle
27da2a7d3b
Merge branch 'master' into ft/validation
2017-09-28 17:53:14 -07:00
HelderSepu
a408fb1f23
Correction from @shockey
2017-09-28 20:40:22 -04:00
HelderSepu
7d40d72281
Add validateMaximum & validateMinimum
...
This address some of the validation requested on Issue #993
2017-09-24 11:43:47 -04:00
HelderSepu
a5c7083726
Add validation for min and max length
2017-09-23 14:14:58 -04:00
HelderSepu
e08f31d674
Add UnitTests for validateDateTime & validateGuid
2017-09-22 21:37:33 -04:00
HelderSepu
7d9b56255c
Correction to the validateDateTime
2017-09-22 17:44:01 -04:00
HelderSepu
11768b16bf
Correct IF for validateDateTime & validateGuid
2017-09-22 11:30:07 -04:00
HelderSepu
85b7b7241d
Add validateDateTime & validateGuid
...
Initial work to tacke some of the missing validation (Issue #993 )
2017-09-19 14:31:27 -04:00
Kyle Shockey
ae5ad484d9
More merge oversights...
2017-09-15 20:33:16 -07:00
Kyle
fa312cb70d
Merge branch 'master' into bug/oas3-accept-controls
2017-09-15 20:11:20 -07:00
Owen Conti
840912cb56
Handle null value in createDeepLinkPath
2017-09-13 21:38:07 -06:00
Owen Conti
a6e070ac76
Replace spaces with underscores when setting the hash value and inserting the ID into the DOM. Escape the deep link path when querying for the DOM element on hash change.
2017-09-13 21:32:46 -06:00
Owen Conti
430e2a970f
Fixes #3596
...
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
2017-09-13 17:20:37 -06:00
Kyle Shockey
26edaa5f0b
OAS3 Accept header control: Component-side
2017-09-12 17:22:51 -07:00
Kyle Shockey
d14ae62aa5
Parse JSON requestBodies so Client can consume them correctly
2017-09-05 15:07:55 -07:00
shockey
299b609369
Merge branch 'master' into bug/3414-redo
2017-07-28 19:51:03 -07:00
Kyle Shockey
6ecae65b5f
Remove config filtering
2017-07-27 13:01:44 -07:00
Owen Conti
f570ffcd82
Reimplemented changes from PR #3427 . Added fix for validating request bodies.
2017-07-24 18:46:30 -06:00
Owen Conti
87e7142f1f
Revert "Update parameter <select> elements to render 'invalid' classes. Add '.invalid' CSS for <select> elements. Rework validateParam() function. Added .btn-sm class for "Add item" and "Remove item" buttons in array parameters. Reduce border-width on <select> elements inside parameters. Update tests for utils.validateParam()."
...
This reverts commit 666e22f989 .
2017-07-24 18:26:09 -06:00
Kyle Shockey
f0b4b6bac1
Add minimal backstop for #3414
2017-07-24 13:13:18 -07:00
Kyle Shockey
5c70134f53
Revert "Merge pull request #3427 from owenconti/bug/3414-validate-params-reworked"
...
Reopens #3414
This reverts commit 99d368673b , reversing
changes made to 8bf9037bbc .
2017-07-24 13:07:12 -07:00
shockey
10f12c287e
Merge branch 'master' into fix-orderedmap-length
2017-07-21 19:07:36 -07:00
Owen Conti
666e22f989
Update parameter <select> elements to render 'invalid' classes. Add '.invalid' CSS for <select> elements. Rework validateParam() function. Added .btn-sm class for "Add item" and "Remove item" buttons in array parameters. Reduce border-width on <select> elements inside parameters. Update tests for utils.validateParam().
2017-07-20 21:33:57 -06:00
Leon Weidauer
25c63b5f76
Fix length issue in OrderedMaps
...
Previously, a definiton with a 'length' property with numeric value
would result in an OrderedMap of that length.
This is now fixed and covered by tests
2017-07-20 12:01:00 +02:00
Will Marshall
7363776079
parseSeach -> parseSearch
2017-07-17 13:35:26 -07:00
shockey
ec33480c25
Merge branch 'master' into bug/3361-non-required-integers
2017-07-14 15:41:40 -07:00
Kyle Shockey
e6c8eb3c61
Pass tag names to tagsSorter instead of taggedOperations values
2017-07-13 21:02:37 -07:00