Closed
Description
if we has a custom MarshalJSON/MarshalXML struct.input data type maybe cant matched to out data type.
the feature can be custom a data type ,its Like
//swagger:type string
type OwnerInput struct {
}
func (c *OwnerInput)UnmarshalJSON(data []byte) error {
//in here,unmarshal a string to a golang struct
}