add ApplyDefaults method for EndpointOpts
3 files changed