File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -226,10 +226,10 @@ type EditRepoOption struct {
226226 EnablePrune * bool `json:"enable_prune,omitempty"`
227227}
228228
229- // GenerateRepoOption options when creating repository using a template
229+ // GenerateRepoOption options when creating a repository using a template
230230// swagger:model
231231type GenerateRepoOption struct {
232- // The organization's name or individual user's name who will own the new repository
232+ // the organization's name or individual user's name who will own the new repository
233233 //
234234 // required: true
235235 Owner string `json:"owner"`
@@ -351,9 +351,10 @@ func (gt GitServiceType) Title() string {
351351type MigrateRepoOptions struct {
352352 // required: true
353353 CloneAddr string `json:"clone_addr" binding:"Required"`
354- // deprecated (only for backwards compatibility)
355- RepoOwnerID int64 `json:"uid"`
356- RepoOwner string `json:"repo_owner"`
354+ // deprecated (only for backwards compatibility, use repo_owner instead)
355+ RepoOwnerID int64 `json:"uid"`
356+ // the organization's name or individual user's name who will own the migrated repository
357+ RepoOwner string `json:"repo_owner"`
357358 // required: true
358359 RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`
359360
You can’t perform that action at this time.
0 commit comments