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.
2017-08-10 18:27:03 -07:00
Owen Conti
7a694e287a
Change name format to in.name and update tests
2017-08-03 19:29:49 -06:00
Kyle Shockey
9af5d2dc66
Add writeOnly support to sampleFromSchema; add tests for the same
2017-08-03 17:23:16 -07:00
Kyle Shockey
37f9d5aa29
Add tests
2017-08-03 17:13:58 -07:00
Owen Conti
ce8adb91a5
Fix failing selector test
2017-08-03 07:14:03 -06:00
shockey
84f6653fcf
Merge branch 'master' into ft/oas3
2017-07-28 19:58:38 -07:00
Kyle Shockey
b373182afe
ESLint fixes
2017-07-28 19:47:46 -07:00
Kyle Shockey
f7018bc78f
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3
2017-07-28 19:13:24 -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
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
Kyle Shockey
6a48e43ca5
Delete path translator tests
2017-07-18 20:42:46 -07:00
shockey
ec33480c25
Merge branch 'master' into bug/3361-non-required-integers
2017-07-14 15:41:40 -07:00
Owen Conti
991ae66b39
Fixes #3375 - Change order of logic for selecting requestContentType to prioritize consumes_value first
2017-07-12 19:56:11 -06:00
Owen Conti
6beaaca6e6
Fixes #3361 - Check for null and undefined values in validateParam
2017-07-10 19:46:32 -06:00
Kyle Shockey
4e80e292b2
Merge branch 'master' into ft/oas3
2017-07-04 23:50:00 -07:00
Owen Conti
551a5a81a1
Fix test for falsy values
2017-07-04 16:48:23 -06:00
Owen Conti
dd1b87e3d7
Fixes #3309 - Add same styles as regular input elements to file inputs. Add test for validating file type.
2017-07-03 18:04:49 -06:00
shockey
b72aa3a7c8
Merge branch 'master' into webpack-migration-2.x
2017-06-29 18:23:36 -07:00
shockey
afaa5619bb
Merge branch 'master' into bug/3072-error-response-fixes
2017-06-29 17:20:09 -07:00
RVKen
d36f0a6dbd
fix eslint issues
2017-06-29 04:37:19 +02:00
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
2017-06-27 20:01:09 -06:00
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
2017-06-25 13:28:14 -06:00
Kyle Shockey
81408cf0d8
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/oas3
2017-06-13 19:07:58 -07:00
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"
2017-06-08 15:59:41 -07:00
Kyle Shockey
88848d071b
Extended getComponent: system availability
2017-05-23 14:55:28 -07:00
Kyle Shockey
614c1ae7f6
basic wrapComponent
2017-05-22 23:10:16 -07:00
Kyle Shockey
2f527b1f66
Move system tests to directory
2017-05-20 13:07:00 -07:00
Kyle Shockey
1f314ddca2
Add wrapSelectors functionality
2017-05-17 18:40:58 -07:00
shockey
754d57396a
Merge branch 'master' into bug/2919-relative-spec-infer-scheme
2017-04-18 19:55:29 -07:00
Kyle Shockey
5fc064e2ac
Reorganize tests
2017-04-18 15:08:36 -07:00
Kyle Shockey
35769f9b47
Fix #2918 ; add control/test tests
2017-04-18 11:20:15 -07:00
Kyle Shockey
4c1a5488bb
Parse spec url when deciding scheme for operation
2017-04-13 17:26:47 -07:00
Anna Bodnia
fde75d408e
fix #2839
2017-04-04 14:34:59 +03:00
Kyle Shockey
8dd23053b2
Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/linting-and-testing
2017-03-23 16:43:37 -07:00
Kyle Shockey
e1fcbfbf09
Linter error fixes
2017-03-23 16:36:45 -07:00
Kyle Shockey
f1f239b07b
Delete unused AST tests
2017-03-22 21:22:07 -07:00
Kyle Shockey
f195d01184
Autofix ESLint problems
2017-03-22 20:40:05 -07:00
Anna Bodnia
4ebe2273da
fixes for XML render
2017-03-22 16:14:20 +02:00
Ron
f22a628934
in with the new
2017-03-17 21:17:53 -07:00