Internal implementation of request Body validating middleware.
FormatChecker(formats=None)¶Bases: jsonschema._format.FormatChecker
A FormatChecker can output the message from cause exception
We need understandable validation errors messages for users. When a custom checker has an exception, the FormatChecker will output a readable message provided by the checker.
check(param_value, format)¶Check whether the param_value conforms to the given format.
| Parameters: |
|
|---|---|
| Type: | any primitive type (str, number, bool) |
| Raises: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.