camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebi-hgdata <>
Subject [GitHub] camel pull request: Fix if allowable values are not set
Date Fri, 29 Jan 2016 16:05:55 GMT
GitHub user sebi-hgdata opened a pull request:

    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 sebi/allowable_values_fix

Alternatively you can review and apply these changes as the patch at:

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 <>
Date:   2016-01-29T14:51:38Z

    do not set is empty

commit 69760a91f83181622ddbe470b753cdb717bd1784
Author: Seb Calbaza <>
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 or file a JIRA ticket
with INFRA.

View raw message