build(server): the response-contract exempt marker only excuses a handler that writes through @Res()

A response-contract-exempt comment counted any handler as covered, whatever it returned, so one comment line let a JSON handler past the ratchet. The marker now counts only on a handler taking @Res() or @Next(). The five vacay holiday proxies return the provider's JSON, so they lose their markers and are counted again until they declare a schema.
This commit is contained in:
Maurice
2026-10-10 19:54:20 +02:00
parent 8187a423e2
commit ef68c62d80
5 changed files with 41 additions and 10 deletions
@@ -96,6 +96,7 @@
"src/nest/trip-invite/trip-invite.controller.ts": 5,
"src/nest/trip-members/trip-members.controller.ts": 7,
"src/nest/trips/trips.controller.ts": 12,
"src/nest/vacay/vacay.controller.ts": 5,
"src/nest/weather/weather.controller.ts": 2
}
}