commit aaeea4bf39377c4109f6b2857794ee0e7d51e786
Author: He Jie Xu <email address hidden>
Date: Fri Jun 30 14:47:20 2017 +0800
Ensure the JSON-Schema covers the legacy v2 API
The legacy v2 API compatible mode support the protection of JSON-Schema.
The input body will be validated with JSON-Schema, and the extra invalid
parameters will be filtered out of the input body instead of return
HTTPBadRequest 400.
But some of API are missing that protection, the JSON-Schema validation
was limited to the v2.1 API. This patch ensures those schema covers the
legacy v2 API.
Reviewed: https:/ /review. openstack. org/479170 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=aaeea4bf393 77c4109f6b28577 94ee0e7d51e786
Committed: https:/
Submitter: Jenkins
Branch: master
commit aaeea4bf39377c4 109f6b2857794ee 0e7d51e786
Author: He Jie Xu <email address hidden>
Date: Fri Jun 30 14:47:20 2017 +0800
Ensure the JSON-Schema covers the legacy v2 API
The legacy v2 API compatible mode support the protection of JSON-Schema.
The input body will be validated with JSON-Schema, and the extra invalid
parameters will be filtered out of the input body instead of return
HTTPBadRequest 400.
But some of API are missing that protection, the JSON-Schema validation
was limited to the v2.1 API. This patch ensures those schema covers the
legacy v2 API.
Change-Id: Ie165b2a79efd56 a299d2d4ebe40a6 904a340414f
Closes-Bug: #1701451