tacker.api.validation package

tacker.api.validation package

Module contents

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.

Parameters

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.

Parameters

request_body_schema (dict) – a schema to validate request body

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.