Request Body validating middleware.
tacker.api.validation.
query_schema
(query_params_schema)¶Register a schema to validate request query parameters.
Registered schema will be used for validating request query params just before API method executing.
query_params_schema – A dict, the JSON-Schema for validating the query parameters.
tacker.api.validation.
schema
(request_body_schema)¶Register a schema to validate request body.
Registered schema will be used for validating request body just before API method executing.
request_body_schema (dict) – a schema to validate request body
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.