Down about my weight gain, any suggestions?

So I am at 22 weeks 5 days and I have officially gained 20 pounds. I exercise regularly but my diet is not great due to severe food aversions to vegetables. I keep getting warnings from my doctor. I feel so discouraged. Anybody have any suggestions on how to slow weight gain for the next 17.5 weeks?