commit a9691bfb920fd6caca39218ae3104a3a30f177ea
Author: He Jie Xu <email address hidden>
Date: Fri Mar 4 14:52:51 2016 +0800
Correct the wrong usage of 'format' jsonschema keyword in servers API
'format' keyword works for any types. That means for 'port' field,
'null' value never passed the format checks. We should use 'oneOf'
keyword instead of it.
Reviewed: https:/ /review. openstack. org/288268 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a9691bfb920 fd6caca39218ae3 104a3a30f177ea
Committed: https:/
Submitter: Jenkins
Branch: master
commit a9691bfb920fd6c aca39218ae3104a 3a30f177ea
Author: He Jie Xu <email address hidden>
Date: Fri Mar 4 14:52:51 2016 +0800
Correct the wrong usage of 'format' jsonschema keyword in servers API
'format' keyword works for any types. That means for 'port' field,
'null' value never passed the format checks. We should use 'oneOf'
keyword instead of it.
Change-Id: Ic51e9e1c6efadc e0a0b4d20a114ca 75799fb36a5
Partial-Bug: #1552888