d98dbf4da8
This patch adds a reno for validate boolean parameters with spaces. Also adds valid values in api-ref for boolean parameters that user can pass in request body. Implements: bp/json-schema-validation Change-Id: Iff4b2906dba93a238d720a218fcf7a9f78b96a37
27 lines
963 B
YAML
27 lines
963 B
YAML
---
|
|
other:
|
|
- |
|
|
Added schema validation support using jsonschema `[json-schema-validation]`_
|
|
for all supported v3 APIs.
|
|
|
|
Following APIs were accepting boolean parameters with leading and trailing
|
|
white spaces (for e.g. " true "). But now with schema validation support,
|
|
all these boolean parameters henceforth will not accept leading and trailing
|
|
whitespaces to maintain consistency.
|
|
|
|
* Generic volume groups:
|
|
|
|
* delete group: "POST /v3/{project_id}/groups/{group_id}/action"
|
|
|
|
* failover replication: "POST /v3/{project_id}/groups/{group_id}/action"
|
|
* Volume Snapshots:
|
|
|
|
* create a snapshot: "POST /v3/{project_id}/snapshots"
|
|
* Volume_actions:
|
|
|
|
* set bootable: "POST /v3/{project_id}/volumes/{volume_id}/action"
|
|
|
|
* volume readonly update: "POST /v3/{project_id}/volumes/{volume_id}/action"
|
|
|
|
.. _`[json-schema-validation]`: https://blueprints.launchpad.net/cinder/+spec/json-schema-validation
|