godeps: bump go-openapi

This commit is contained in:
Mike Danese
2018-02-13 18:30:26 -08:00
parent 6e856480c0
commit 1e90823c3b
11 changed files with 461 additions and 325 deletions

View File

@@ -145,7 +145,10 @@ func (r *Ref) UnmarshalJSON(d []byte) error {
if err := json.Unmarshal(d, &v); err != nil {
return err
}
return r.fromMap(v)
}
func (r *Ref) fromMap(v map[string]interface{}) error {
if v == nil {
return nil
}