From 9ebcff656e3cb08894ad8825fa4403bb3b1b80a1 Mon Sep 17 00:00:00 2001 From: xiexianbin Date: Sat, 28 May 2022 14:34:38 +0800 Subject: [PATCH] fix RepoPatchParam bug - Owner and Repo must exist - https://gitee.com/api/v5/swagger#/patchV5ReposOwnerRepo Signed-off-by: xiexianbin --- gitee/model_repo_patch_param.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitee/model_repo_patch_param.go b/gitee/model_repo_patch_param.go index ff57762..9771b90 100644 --- a/gitee/model_repo_patch_param.go +++ b/gitee/model_repo_patch_param.go @@ -13,6 +13,10 @@ package gitee type RepoPatchParam struct { // 用户授权码 AccessToken string `json:"access_token,omitempty"` + // 仓库所属空间地址(企业、组织或个人的地址path) + Owner string `json:"owner,omitempty""` + // 仓库路径(path) + Repo string `json:"repo,omitempty""` // 仓库名称 Name string `json:"name,omitempty"` // 仓库描述 -- Gitee