Currently endpoints with optional parameters are not assigned xml commnets. Find out how to resolve that.