Request body validating middleware for OpenStack Identity resources.
keystone.common.validation.
add_array_type
(property_schema)[source]¶Convert the parameter schema to be of type list.
Parameters: | property_schema (dict) – schema to add array type to |
---|---|
Returns: | a new dict schema |
keystone.common.validation.
lazy_validate
(request_body_schema, resource_to_validate)[source]¶A non-decorator way to validate a request, to be used inline.
Parameters: |
|
---|---|
Raises: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.