Commit Graph
204 Commits
Author SHA1 Message Date
kyle 4041689c1d Merge branch 'master' into bug/3299-param-validation-regression 2017-11-10 10:52:56 -08:00
Kyle Shockey d92a27bdab Add failing tests 2017-11-10 10:40:03 -08:00
kyle 49457fe089 Correct typo in test description 2017-11-08 22:48:20 -08:00
Ryan Feeney 1aabdded97 Merge branch 'master' into bug/3658-add-enzyme-test-for-objectmodel 2017-11-07 15:06:22 -05:00
Kyle Shockey 531d0337ac Remove describe.only 2017-11-06 22:13:29 -08:00
Kyle Shockey 3536f2d518 Add tests for modified selectors 2017-11-06 22:08:42 -08:00
feenr bcad5b583e Remove commented out and debug code 2017-11-06 12:41:14 -05:00
feenr e9d94e02d8 Add new tests for object-model 2017-11-06 10:43:43 -05: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 390f4b17b1 Add graceful failure test 2017-11-03 17:11:39 -07:00
Kyle Shockey 17e6d81504 Format XML with xml-but-prettier 2017-11-02 15:13:10 -07: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 551a82d120 Remove describe.only 2017-10-30 18:00:59 -07:00
Kyle Shockey b9fa5e5bb2 Add sanitizeUrl tests 2017-10-30 17:57:43 -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
Kyle Shockey 075c94f68c Remove describe.only 2017-10-21 11:13:01 -07:00
HelderSepu ac24f4376b Add validatePattern & UnitTest 2017-10-21 13:04:53 -04:00
HelderSepu 21178e9107 Remove describe.only 2017-10-21 13:04:21 -04:00
kyle 6d22e38a04 Merge branch 'master' into ft/oas3-authorization 2017-10-20 19:07:38 -07:00
Mark H. Wilkinson e1a7af4c92 Fix regression with rendering links in Markdown. 2017-10-16 14:40:07 +01:00
Owen Conti 18a681e231 Update all the validateParam tests to use the assertValidateParam factory 2017-10-11 19:50:02 -06:00
Owen Conti 7c8942e61c Update to utils.js to use a common method for asserting the validateParam function. 2017-10-11 19:19:24 -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 60e8091eed Add unit test for images in markdown 2017-10-08 10:26:32 -06:00
Owen Conti 1785d48746 Remove .only from existing tests. Add markdown test cases for heading elements. 2017-10-08 10:13:09 -06:00
Owen Conti 5a69603beb Test for sanitizing <img> elements. Test sanitization of the <Info /> component 2017-10-01 13:59:28 -06:00
Owen Conti 559b315d0d Initial test for Markdown <script> sanitization 2017-10-01 10:30:41 -06:00
kyle 263f6feb2f Merge branch 'master' into ft/default_model_rendering 2017-09-29 13:29:04 -07: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 515726b386 Add test for negative num
Testing valid negative number with min and max
2017-09-24 15:45:42 -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
kyle b6eb23217f Merge branch 'master' into master 2017-09-22 20:45:07 -07:00
Kyle Shockey 6b59707af1 Fix tests 2017-09-22 19:50:36 -07:00
kyle 827bcd2f36 Merge branch 'master' into master 2017-09-22 19:50:19 -07:00
HelderSepu e08f31d674 Add UnitTests for validateDateTime & validateGuid 2017-09-22 21:37:33 -04:00
Owen Conti a1758da87c Merge branch 'master' into bug/3511-query-formData-parameters 2017-09-20 22:37:43 -06:00
Alexander Vangelov 696bdcf961 Merge branch 'master' into master 2017-09-20 13:11:53 -04:00
Owen Conti 7ef8a7ddc7 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3511-query-formData-parameters
# Conflicts:
#	src/core/components/parameter-row.jsx
#	src/core/plugins/spec/actions.js
2017-09-18 16:59:08 -06:00
Owen Conti 44ece46cd3 Fixes #3633
Make sure PrimitiveModel uses the schema's title first and then falls back to the passed-in `name` property. Added enzyme test for functionality.
2017-09-17 09:49:13 -06:00