DecodeAndValidatePathParams