keystone/keystone/common/validation
Morgan Fainberg 22af1d9f35 Fix json schema nullable to add None to ENUM
The JSON Schema validation implementation of nullable(), which makes
values possible to be null was not adding None to the enum if it exists.
This causes validation to fail on ``None`` especially in the case of
keystone's boolean parameter_type implementation. ``nullable()`` now
adds ``None`` to the enum if the enum exists.

Closes-Bug: #1763824
Change-Id: I176fa90df63049661413c445554dba9b7d87272a
(cherry picked from commit 78adf4b40f)
2018-04-19 13:25:02 +00:00
..
__init__.py Fix json schema nullable to add None to ENUM 2018-04-19 13:25:02 +00:00
parameter_types.py The name can be just white character except project and user 2016-03-29 09:58:51 +08:00
validators.py Stop using deprecated 'message' attribute in Exception 2017-07-07 17:03:24 +05:30