diff --git a/models/common/models/inoutputs.go b/models/common/models/inoutputs.go index cf113ac..a8ef2e5 100644 --- a/models/common/models/inoutputs.go +++ b/models/common/models/inoutputs.go @@ -1,8 +1,8 @@ package models type Artifact struct { - AttrPath string `json:"name_path" bson:"name_path" validate:"required"` - AttrFrom string `json:"from,omitempty" bson:"from,omitempty"` + AttrPath string `json:"attr_path,omitempty" bson:"attr_path,omitempty" validate:"required"` + AttrFrom string `json:"from_path,omitempty" bson:"from_path,omitempty"` Readonly bool `json:"readonly" bson:"readonly" dafault:"true"` }