1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
unleash.unleash/src/lib
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
..
__snapshots__ feat: remove project overview flag (#3648) 2023-04-28 12:25:59 +02:00
addons Detailed slack notifications on feature toggle update (#3155) 2023-02-27 09:56:56 +00:00
db Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
domain/project-health Project health tests (#3028) 2023-02-02 12:01:16 +01:00
error fix: ensure that the owaspvalidationerrors always contain all errors (#3638) 2023-04-27 15:51:37 +02:00
features feat: promote toggles script (#3639) 2023-04-28 09:08:12 +02:00
middleware feat: unify error responses (#3607) 2023-04-25 13:40:46 +00:00
openapi openapi: enable allErrors and update snapshots (#3622) 2023-04-28 12:56:00 +00:00
proxy refactor: fix compilation issues in features service (#3323) 2023-03-24 10:43:38 +01:00
routes Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
schema fix: enforce weight precision to 1 decimal (#2749) 2023-01-05 12:39:18 +01:00
segments Feat segments project safeguards (#3359) 2023-03-21 20:28:43 +00:00
services Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
types Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00
util feat: enable dark mode for all (#3614) 2023-04-25 10:13:06 +02:00
app.test.ts
app.ts feat: unify error responses (#3607) 2023-04-25 13:40:46 +00:00
create-config.test.ts feat: fix csp headers for feedback form (#3617) 2023-04-25 13:40:55 +03:00
create-config.ts task: removes deprecated feature api (#3609) 2023-04-26 10:45:00 +02:00
default-custom-auth-deny-all.ts refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
internals.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts chore: add linter rules for regexp (#3500) 2023-04-17 07:11:22 +00:00
metrics.ts Poc: calculate etag based on query and latest revison id (#3062) 2023-03-17 14:10:21 +01:00
server-impl.test.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
server-impl.ts Feat: project default strategy (#3644) 2023-04-28 14:59:04 +03:00