You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by sebi-hgdata <gi...@git.apache.org> on 2016/01/29 17:05:55 UTC
[GitHub] camel pull request: Fix if allowable values are not set
GitHub user sebi-hgdata opened a pull request:
https://github.com/apache/camel/pull/817
Fix if allowable values are not set
We should not set 'enum' field in parameter if allowable values are empty as it makes swagger ui unusable by not allowing parameter inputs. (for all parameters that do not have allowable values there is a just a select with no options )
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sebi-hgdata/camel sebi/allowable_values_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/817.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #817
----
commit c19c989392281e76932f86522845ce3e2b437cd8
Author: Seb Calbaza <se...@hgdata.com>
Date: 2016-01-29T14:51:38Z
do not set is empty
commit 69760a91f83181622ddbe470b753cdb717bd1784
Author: Seb Calbaza <se...@hgdata.com>
Date: 2016-01-29T16:01:03Z
do not populate enum when no allowable values are set
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] camel pull request: Fix if allowable values are not set
Posted by sebi-hgdata <gi...@git.apache.org>.
Github user sebi-hgdata closed the pull request at:
https://github.com/apache/camel/pull/817
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---