Decide by ownership
Parse once
A request parser returns a complete value or one structured error. Normalization such as trimming, enum membership, null policy, and presence rules belongs in that parser. Do not decode into a loose struct and add a second HTTP validation phase later. State-dependent rules remain domain work. For example,customer_id being a well-formed ID is a request concern; whether that customer belongs to the authenticated application is a domain concern.
Keep endpoint policy off the request
request.Req is a safe representation of the incoming request. It does not know which endpoint will handle it. Method, authorization, caller availability, controls, limits, idempotency, timeouts, and operation identity belong on endpoint.EndpointSpec or endpoint.JSONEndpointSpec.