forked from loafle/openapi-generator-original
parent
bac913f384
commit
38dbcdd752
@ -415,7 +415,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
}
|
||||
} else if err = json.Unmarshal(b, v); err != nil { // simple model
|
||||
return err
|
||||
|
@ -388,7 +388,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
}
|
||||
} else if err = json.Unmarshal(b, v); err != nil { // simple model
|
||||
return err
|
||||
|
@ -373,7 +373,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
}
|
||||
} else if err = json.Unmarshal(b, v); err != nil { // simple model
|
||||
return err
|
||||
|
@ -401,7 +401,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
|
||||
}
|
||||
} else if err = json.Unmarshal(b, v); err != nil { // simple model
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user