Kyle Shockey
d92a27bdab
Add failing tests
6 years ago
Kyle Shockey
531d0337ac
Remove describe.only
6 years ago
Kyle Shockey
3536f2d518
Add tests for modified selectors
6 years ago
Kyle Shockey
390f4b17b1
Add graceful failure test
6 years ago
Kyle Shockey
17e6d81504
Format XML with `xml-but-prettier`
6 years ago
HelderSepu
f600fe8dbb
Simplify formatXml
6 years ago
Kyle Shockey
1aa1907128
Check for input type and string length before sanitizing a URL
6 years ago
Kyle Shockey
551a82d120
Remove describe.only
6 years ago
Kyle Shockey
b9fa5e5bb2
Add sanitizeUrl tests
6 years ago
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
6 years ago
HelderSepu
43c5d9a8c9
Revert "Add objectCheck"
This reverts commit 87d11f99dd
.
7 years ago
HelderSepu
87d11f99dd
Add objectCheck
Squeeze fix for required object on this PR
7 years ago
Kyle Shockey
075c94f68c
Remove `describe.only`
7 years ago
HelderSepu
ac24f4376b
Add validatePattern & UnitTest
7 years ago
HelderSepu
21178e9107
Remove describe.only
7 years ago
Owen Conti
18a681e231
Update all the validateParam tests to use the assertValidateParam factory
7 years ago
Owen Conti
7c8942e61c
Update to utils.js to use a common method for asserting the validateParam function.
7 years ago
Owen Conti
7344315c34
Added tests for isOAS3 in validateParam function.
7 years ago
Kyle Shockey
8b81bcac48
OAS3 Auth MVP
7 years ago
Kyle Shockey
012313e236
Handle cases where maximum and minimum are 0
7 years ago
HelderSepu
a408fb1f23
Correction from @shockey
7 years ago
HelderSepu
515726b386
Add test for negative num
Testing valid negative number with min and max
7 years ago
HelderSepu
7d40d72281
Add validateMaximum & validateMinimum
This address some of the validation requested on Issue #993
7 years ago
Kyle Shockey
de61dccff0
Revert "Revert "Merge pull request #3516 from owenconti/bug/3511-query-formData-parameters""
This reverts commit beeb6b608e
.
7 years ago
HelderSepu
a5c7083726
Add validation for min and max length
7 years ago
Kyle Shockey
beeb6b608e
Revert "Merge pull request #3516 from owenconti/bug/3511-query-formData-parameters"
This reverts commit 6a7e9d2e8881bf34ae0edef714ebc0ed1762ffce, reversing
changes made to eb01beedfa
.
7 years ago
Kyle Shockey
6b59707af1
Fix tests
7 years ago
HelderSepu
e08f31d674
Add UnitTests for validateDateTime & validateGuid
7 years ago
Owen Conti
f63f022e0c
Remove `.only` from utils test
7 years ago
Kyle Shockey
6010245210
Roll back win import removal
Lost in merge conflict....
7 years ago
AlexVangelov
c1abdfb1c4
follow lowercase naming convention in tests
7 years ago
AlexVangelov
4172e33e04
satisfy project lint rules
7 years ago
Owen Conti
33ee880f36
Add extra check for String types in `createDeepLinkPath`. Add `trim()` call on passed-in value in `createDeepLinkPath`. Added unit tests for new deep link util functions.
7 years ago
AlexVangelov
9b1a6141df
OAuth2 authorizationUrl with extra query parameters (should include double '?')
7 years ago
Kyle Shockey
26edaa5f0b
OAS3 Accept header control: Component-side
7 years ago
Kyle Shockey
5bc096d32b
Fit linter and tests
7 years ago
Mike Gilbode
087ed20384
Add support for requestInterceptor / responseInterceptor.
- Display mutated requests from request interceptor in curl output in UI.
Put this behind showMutatedRequest flag so that the mutation can be
silent.
- Document requestInterceptor, responseInterceptor and showMutatedRequest
in README.md
- Add tests
7 years ago
Kyle Shockey
168e203040
Use hash for body in formData tests
I couldn't find any instances of body being an array when testing
formData with real specs... I think this was a mistake.
7 years ago
Owen Conti
7a694e287a
Change name format to `in.name` and update tests
7 years ago
Kyle Shockey
9af5d2dc66
Add writeOnly support to sampleFromSchema; add tests for the same
7 years ago
Kyle Shockey
37f9d5aa29
Add tests
7 years ago
Owen Conti
ce8adb91a5
Fix failing selector test
7 years ago
Kyle Shockey
b373182afe
ESLint fixes
7 years ago
Owen Conti
f570ffcd82
Reimplemented changes from PR #3427 . Added fix for validating request bodies.
7 years ago
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
.
7 years ago
Kyle Shockey
5c70134f53
Revert "Merge pull request #3427 from owenconti/bug/3414-validate-params-reworked"
Reopens #3414
This reverts commit 99d368673b4fbd640b15fe85e5c9af52179dc749, reversing
changes made to 8bf9037bbc
.
7 years ago
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().
7 years ago
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
7 years ago
Kyle Shockey
6a48e43ca5
Delete path translator tests
7 years ago
Owen Conti
991ae66b39
Fixes #3375 - Change order of logic for selecting `requestContentType` to prioritize `consumes_value` first
7 years ago