mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
SesController's 13 request-parsing helpers that more than one URL group uses (body and member shape checks, the Tags array, the v1-to-v2 error remapping) move byte-for-byte into a package-private static SesV2Json so the per-domain controllers that follow can share them without inheriting from or duplicating the monolith; readOptionBody now takes the caller's ObjectMapper. SesV2JsonTest pins each helper's accept/reject split and wording directly, and SesV2ControllerRegistrationTest asserts that every /v2/email resource class in the package is registered on the SES descriptor, since an unregistered controller still serves signed SDK calls and only silently loses the service-enabled gate and the x-amzn-errortype header for unsigned requests. No endpoint moves and no wire behavior changes.