Commit Graph

42 Commits

Author SHA1 Message Date
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
Kyle Shockey
571d65a582 apisSorter -> tagsSorter
"tags", not "tag", because it sorts the tags themselves, not the content of each tag.
2017-07-13 20:36:08 -07:00
Owen Conti
6beaaca6e6 Fixes #3361 - Check for null and undefined values in validateParam 2017-07-10 19:46:32 -06:00
Ron
fe9af65793 Merge branch 'master' into feature/apisSorter 2017-07-07 15:31:18 -07:00
Owen Conti
718658e837 Fix for non-required inputs 2017-07-03 18:12:39 -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
Raphaël MARQUES
cb9ca7d4bf Merge branch 'master' into feature/apisSorter 2017-06-30 09:01:28 +02:00
shockey
b72aa3a7c8 Merge branch 'master' into webpack-migration-2.x 2017-06-29 18:23:36 -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
Raphaël MARQUES
24bc8c4b85 Complying with CI 2017-06-27 16:45:23 +02:00
Raphaël MARQUES
4fe27786f4 Adding apisSorter options, taking a string or a function as a configuration value 2017-06-27 15:29:07 +02:00
Josh Ponelat
9549bf3c2b Add back shallowEqualKeys ( editor depends on it ) 2017-06-21 15:29:37 +02:00
Josh Ponelat
a536a00d35 fix lint 2017-06-19 18:46:49 +02:00
Josh Ponelat
0e4d04650d Fixes for IE11, wrt to instance methods 2017-06-19 18:29:45 +02: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
Javier Mendiara Cañardo
53986d60bc Move filterConfigs to core
Fixes #3056
2017-05-10 18:17:37 +02:00
Josh Ponelat
2cff912261 remove object-assign dep ( which was missing from package.json ) 2017-04-28 11:17:59 +02:00
Anna Bodnia
891c321c8a build 2017-04-26 18:06:26 +03:00
Anna Bodnia
bb73dd49d8 fixes password, application oauth2 flows 2017-04-26 17:50:09 +03:00
Anna Bodnia
8e64c866e8 operationsSorter config 2017-04-18 19:06:15 +03:00
Jeff Weeks
2535758adf Merge branch 'master' into master 2017-04-04 14:26:48 -04:00
shockey
e4c47717eb Update utils.js 2017-04-04 11:06:33 -07:00
Anna Bodnia
59ecaf40ee fix #2456 2017-04-04 16:09:28 +03:00
Jeff Weeks
2a6ecb2d38 Update utils.js 2017-03-29 16:30:25 -04:00
Kyle Shockey
e1fcbfbf09 Linter error fixes 2017-03-23 16:36:45 -07:00
Kyle Shockey
f195d01184 Autofix ESLint problems 2017-03-22 20:40:05 -07:00
Anna Bodnia
26d5305404 fetch spec from url provided in query parameter 2017-03-19 13:28:10 +02:00
Ron
f22a628934 in with the new 2017-03-17 21:17:53 -07:00