keystone/releasenotes/notes/bug-1763824-3d2f5169af9d42f.yaml
Morgan Fainberg 78adf4b40f 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
2018-04-14 16:41:25 +00:00

7 lines
226 B
YAML

---
fixes:
- |
[`bug 1763824 <https://bugs.launchpad.net/keystone/+bug/1763824>`_]
JSON Schema implementation ``nullable`` in keystone.common.validation now
properly adds ``None`` to the enum if the enum exists.