Indicates that a request input failed JSON Schema validation.
This struct wraps the underlying JSONSchex.Types.Error so detailed
validation context is available to custom error handlers.
Fields
:error- the underlyingJSONSchex.Types.Error.t/0.:path- a URI-fragment JSON Pointer addressing the offending value inside the request payload, e.g."#/name". Pointer segments use RFC 6901 escaping (~→~0,/→~1) followed by URI percent-encoding.
Generated Oasis modules do not embed OpenAPI source metadata at runtime;
the route/parameter context that produced this error is already available
from Plug.Conn.t/0 (method, request_path, path_info, headers) plus
the surrounding Oasis.BadRequestError's :use_in and :param_name
fields. For generation-time source locations into the OpenAPI document,
see Mix.Oasis.Router's :source_meta field.