View Source OpenApiSpex.Plug.JsonRenderErrorV2 (open_api_spex v3.16.0)

Renders errors using a quasi-json:api-compliant data shape.

WARNING: Do not use this module directly. It will be renamed in version 4.0 To use this module in a backwards-compatible way, call CastAndValidate like this:

plug OpenApiSpex.Plug.CastAndValidate, json_render_error_v2: true