chore: replace all cn comments to en version by volc api (#313)
This commit is contained in:
@@ -232,7 +232,7 @@ func (t ToolInfo) ToReqAPIParameter() ([]*common.APIParameter, error) {
|
||||
params = append(params, apiParam)
|
||||
}
|
||||
|
||||
break // 只取一种 MIME
|
||||
break // Take only one MIME.
|
||||
}
|
||||
|
||||
return params, nil
|
||||
@@ -257,7 +257,7 @@ func toAPIParameter(paramMeta paramMetaInfo, sc *openapi3.Schema) (*common.APIPa
|
||||
Name: paramMeta.name,
|
||||
Desc: paramMeta.desc,
|
||||
Type: apiType,
|
||||
Location: location, // 使用父节点的值
|
||||
Location: location, // Using the value of the parent node
|
||||
IsRequired: paramMeta.required,
|
||||
SubParameters: []*common.APIParameter{},
|
||||
}
|
||||
@@ -453,7 +453,7 @@ func (t ToolInfo) ToPluginParameters() ([]*common.PluginParameter, error) {
|
||||
}
|
||||
}
|
||||
|
||||
break // 只取一种 MIME
|
||||
break // Take only one MIME.
|
||||
}
|
||||
|
||||
return params, nil
|
||||
|
||||
Reference in New Issue
Block a user