code: func (m *ValidationError) UnmarshalJSON(raw []byte) error {
  	// AO0
  	var aO0 Error
  	if err := swag.ReadJSON(raw, &aO0); err != nil {
  		return err
  	}
  	m.Error = aO0
  
  	// AO1
  	var dataAO1 struct {
  		Field string `json:"field,omitempty"`
  	}
  	if err := swag.ReadJSON(raw, &dataAO1); err != nil {
  		return err
  	}
  
  	m.Field = dataAO1.Field
  
  	return nil
  }
docs: // UnmarshalJSON unmarshals this object from a JSON structure