From 6c4fab1adc80253b97346a96bc3f4f7d55f9f7cb Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 27 Jan 2025 14:01:42 +0100 Subject: [PATCH] adding inputs output struct based on argo naming for now --- models/common/models/inoutputs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"` }