chore: replace all cn comments to en version by volc api (#313)

This commit is contained in:
tecvan
2025-07-31 15:18:11 +08:00
committed by GitHub
parent 91d6cdb430
commit 5abc63fba6
254 changed files with 5899 additions and 5844 deletions

View File

@@ -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