1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00
unleash.unleash/src
Thomas Heartman 80cf27476b
openapi: enable allErrors and update snapshots (#3622)
## What

This PR changes our AJV configuration to return all errors it finds with
a schema instead of stopping at the first one.

Because of this, a number of the snapshot tests that we have must be
updated.

## Why

DX! As someone using an API: if I send a faulty request, I'd rather have
the API tell me about the five things that are wrong than for me to
learn about one thing, send a new request, learn about another thing,
send a new request, .... etc.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-28 12:56:00 +00:00
..
lib openapi: enable allErrors and update snapshots (#3622) 2023-04-28 12:56:00 +00:00
mailtemplates
migrations Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
test Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
migrator.ts feat: disable verbosity from db-migrate (#3301) 2023-03-13 10:12:43 +01:00
server-dev.ts feat: remove project overview flag (#3648) 2023-04-28 12:25:59 +02:00
server.ts