Owen Conti
18a681e231
Update all the validateParam tests to use the assertValidateParam factory
7年前
Owen Conti
7c8942e61c
Update to utils.js to use a common method for asserting the validateParam function.
7年前
Owen Conti
7344315c34
Added tests for isOAS3 in validateParam function.
7年前
Kyle Shockey
012313e236
Handle cases where maximum and minimum are 0
7年前
HelderSepu
a408fb1f23
Correction from @shockey
7年前
HelderSepu
515726b386
Add test for negative num
Testing valid negative number with min and max
7年前
HelderSepu
7d40d72281
Add validateMaximum & validateMinimum
This address some of the validation requested on Issue #993
7年前
Kyle Shockey
de61dccff0
Revert "Revert "Merge pull request #3516 from owenconti/bug/3511-query-formData-parameters""
This reverts commit beeb6b608e
.
7年前
HelderSepu
a5c7083726
Add validation for min and max length
7年前
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年前
Kyle Shockey
6b59707af1
Fix tests
7年前
HelderSepu
e08f31d674
Add UnitTests for validateDateTime & validateGuid
7年前
Owen Conti
f63f022e0c
Remove `.only` from utils test
7年前
Kyle Shockey
6010245210
Roll back win import removal
Lost in merge conflict....
7年前
AlexVangelov
c1abdfb1c4
follow lowercase naming convention in tests
7年前
AlexVangelov
4172e33e04
satisfy project lint rules
7年前
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年前
AlexVangelov
9b1a6141df
OAuth2 authorizationUrl with extra query parameters (should include double '?')
7年前
Kyle Shockey
26edaa5f0b
OAS3 Accept header control: Component-side
7年前
Kyle Shockey
5bc096d32b
Fit linter and tests
7年前
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年前
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年前
Owen Conti
7a694e287a
Change name format to `in.name` and update tests
7年前
Kyle Shockey
9af5d2dc66
Add writeOnly support to sampleFromSchema; add tests for the same
7年前
Kyle Shockey
37f9d5aa29
Add tests
7年前
Owen Conti
ce8adb91a5
Fix failing selector test
7年前
Kyle Shockey
b373182afe
ESLint fixes
7年前
Owen Conti
f570ffcd82
Reimplemented changes from PR #3427 . Added fix for validating request bodies.
7年前
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年前
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年前
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年前
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年前
Kyle Shockey
6a48e43ca5
Delete path translator tests
7年前
Owen Conti
991ae66b39
Fixes #3375 - Change order of logic for selecting `requestContentType` to prioritize `consumes_value` first
7年前
Owen Conti
6beaaca6e6
Fixes #3361 - Check for null and undefined values in validateParam
7年前
Owen Conti
551a5a81a1
Fix test for falsy values
7年前
Owen Conti
dd1b87e3d7
Fixes #3309 - Add same styles as regular input elements to file inputs. Add test for validating file type.
7年前
RVKen
d36f0a6dbd
fix eslint issues
7年前
Owen Conti
5119c7a5db
Fixes #3299 - export validateNumber and validateInteger for easy reuse and testing. Broke validateParam required check onto multiple lines. Added tests for validateNumber, validateInteger, and validateParam
7年前
Owen Conti
ddb5704637
#3072 - Display response body and headers for requests that result in non-200 responses. Add test to ensure error and response are merged correctly
7年前
Derek Wickern
c5a23e584c
Fix #2922 : file uploads fail to render curl command
The request body is an immutable.js OrderedMap rather than a string,
so this fixes the type error:
TypeError: request.get(...).split is not a function
Adds a special curl command argument for files, e.g.
curl -F "param=value" -F "file=@filename.txt;type=text/plain"
7年前
Kyle Shockey
88848d071b
Extended getComponent: system availability
7年前
Kyle Shockey
614c1ae7f6
basic wrapComponent
7年前
Kyle Shockey
2f527b1f66
Move system tests to directory
7年前
Kyle Shockey
1f314ddca2
Add wrapSelectors functionality
7年前
Kyle Shockey
5fc064e2ac
Reorganize tests
7年前
Kyle Shockey
35769f9b47
Fix #2918 ; add control/test tests
7年前
Kyle Shockey
4c1a5488bb
Parse spec url when deciding scheme for operation
7年前
Anna Bodnia
fde75d408e
fix #2839
7年前
Kyle Shockey
e1fcbfbf09
Linter error fixes
7年前