The PUT /_matrix/federation/v2/ route (and v1 too) define a type Invite Event that doesn't have any of the expected PDU fields that should be there.
Expected behaviour
The type should be renamed to Invite PDU or Invite Event PDU and the missing fields added (for the v1 endpoint, the request fields probably have to be updated too).
Link to problem area: https://matrix.org/docs/spec/server_server/r0.1.4#put-matrix-federation-v2-invite-roomid-eventid
Issue
The
PUT /_matrix/federation/v2/
route (andv1
too) define a typeInvite Event
that doesn't have any of the expected PDU fields that should be there.Expected behaviour
The type should be renamed to
Invite PDU
orInvite Event PDU
and the missing fields added (for the v1 endpoint, the request fields probably have to be updated too).