In all honesty, I think this is a big, big, BIG no-go.
You want your consumer contracts to express how your customers consume your service and what they expect. Not how the service actually responds. The discrepancy between those two is exactly what contract testing attempts to bring to the surface.
Generating consumer contracts from provider specifications completely erases that.
There might be a case for generating provider-side acceptance tests from specs (and even that is questionable in my opinion), but I really, really would advise against doing this in contract testing.