Fix endpoint required default field being skipped
Fix endpoint required default field being skipped

Fixes an issue where required fields where skipped when sending endpoint
creation data to the API, if the required fields had default values.

aznashwan/coriolis-web,aznashwan/coriolis-web