Handle swagger property “required” properly.

Added "omitempty" on the Required property itself, add all model elements not tagged omitempty to it.