Trajectory generator

When publishing a position setpoint in offboard mode, what type of trajectory is generated? I have been unable to find this information in /Firmware/src/modules or on Is it a minimum snap trajectory (since the position and attitude control are based on that)?

Additionally, is there a way to override the default trajectory generator with one of our own?