Relax API validation for v2.0 on v2.1

Registered by John Garbutt

Currently v2.1 strongly validates all API requests.

This spec details how we will relax some validation for v2.0 API requests
served by the v2.1 code base.
Note requests being sent to /v2.1 will keep their full strong validation.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
High
Drafter:
John Garbutt
Direction:
Approved
Assignee:
Alex Xu
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

spec:
https://review.openstack.org/#/c/173243/17/specs/liberty/approved/api-relax-validation.rst,cm

start of code:
https://review.openstack.org/193857

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-relax-validation,n,z

Addressed by: https://review.openstack.org/173243
    api: relax validation for unversioned requests

Addressed by: https://review.openstack.org/193858
    Skip additionalProperties checks when LegacyV2CompatibleWrapper enabled

Addressed by: https://review.openstack.org/203485
    Add scenario for API sample tests with legacy v2 compatible wrapper

Addressed by: https://review.openstack.org/206326
    Fix the wrong file name for legacy v2 compatible wrapper functional test

Addressed by: https://review.openstack.org/206930
    Return v2 version info with v2 legacy compatible wrapper

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.