<div dir="ltr">We added new decorator 'query_schema' to support validate the query parameters by JSON-Schema.<div><br></div><div>It provides more strict valiadation as below:</div><div>* set the 'additionalProperties=False' in the schema, it means that reject any invalid query parameters and return HTTPBadRequest 400 to the user.</div><div>* use the marco function 'single_param' to declare the specific query parameter only support single value. For example, the 'marker' parameters for the pagination actually only one value is the valid. If the user specific multiple values "marker=1&marker=2", the validation will return 400 to the user.</div><div><br></div><div>Currently there is patch related to this:</div><div><a href="https://review.openstack.org/#/c/459483/13/nova/api/openstack/compute/schemas/server_migrations.py">https://review.openstack.org/#/c/459483/13/nova/api/openstack/compute/schemas/server_migrations.py</a><br></div><div><br></div><div>So my question is:</div><div>Are we all good with this strict validation in all the future microversion?</div><div><br></div><div>I didn't remember we explicit agreement this at somewhere, just want to double check this is the direction everybody want to go.</div><div><br></div><div>Thanks</div><div>Alex</div></div>