Enable structured validation errorsv3.15+

By default, validation errors are returned as a single flat string. Enable structured_errors to receive errors in JSON Schema draft 2020-12 Output Structure, with instanceLocation and keywordLocation fields for each error.

Use max_structured_errors to cap the number of errors returned. Any errors over the cap are discarded.

Set up the plugin

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!