open_api_spex v3.9.0 OpenApiSpex.Plug.JsonRenderErrorV2 View Source
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