adjust model
This commit is contained in:
@@ -96,6 +96,10 @@ type AbstractResource struct {
|
||||
Owner string `json:"owner,omitempty" bson:"owner,omitempty" validate:"required"`
|
||||
OwnerLogo string `json:"owner_logo,omitempty" bson:"owner_logo,omitempty"`
|
||||
SourceUrl string `json:"source_url,omitempty" bson:"source_url,omitempty" validate:"required"`
|
||||
Price string `json:"price,omitempty" bson:"price,omitempty"`
|
||||
License string `json:"license,omitempty" bson:"license,omitempty"`
|
||||
Inputs []interface{} `json:"inputs,omitempty" bson:"inputs,omitempty"`
|
||||
Outputs []interface{} `json:"outputs,omitempty" bson:"outputs,omitempty"`
|
||||
Proxy *ResourceProxy `json:"proxy,omitempty" bson:"proxy,omitempty"`
|
||||
}
|
||||
type ResourceProxy struct {
|
||||
|
Reference in New Issue
Block a user