diff --git a/desc/inference/inference.api b/desc/inference/inference.api index 4f8b3451..c46054d3 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -130,7 +130,7 @@ type ( } StopAllByDeployTaskIdReq { - Id string `form:"deployTaskId"` + Id string `json:"deployTaskId"` } StopAllByDeployTaskIdResp { diff --git a/internal/types/types.go b/internal/types/types.go index 26c11e93..73949414 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6021,7 +6021,7 @@ type StartAllByDeployTaskIdResp struct { } type StopAllByDeployTaskIdReq struct { - Id string `form:"deployTaskId"` + Id string `json:"deployTaskId"` } type StopAllByDeployTaskIdResp struct {