0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-19 17:10:56 +02:00

Merge 714fcc9fb19a036279ee76333763d455a5800124 into 6599efb3b1400ac06d06e1c8b68ae6037fbb7952

This commit is contained in:
AlexMaryW 2025-07-13 01:44:58 +08:00 committed by GitHub
commit 7717745005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
60 changed files with 571 additions and 557 deletions

View File

@ -35,8 +35,9 @@ type PullRequestMeta struct {
// RepositoryMeta basic repository information
type RepositoryMeta struct {
ID int64 `json:"id"`
Name string `json:"name"`
ID int64 `json:"id"`
Name string `json:"name"`
// username of the user or organization owning the repository
Owner string `json:"owner"`
FullName string `json:"full_name"`
}
@ -264,7 +265,8 @@ func (it IssueTemplate) Type() IssueTemplateType {
type IssueMeta struct {
Index int64 `json:"index"`
Owner string `json:"owner"`
Name string `json:"repo"`
// name of the repo
Name string `json:"repo"`
}
// LockIssueOption options to lock an issue

View File

@ -10,13 +10,14 @@ import (
// StopWatch represent a running stopwatch
type StopWatch struct {
// swagger:strfmt date-time
Created time.Time `json:"created"`
Seconds int64 `json:"seconds"`
Duration string `json:"duration"`
IssueIndex int64 `json:"issue_index"`
IssueTitle string `json:"issue_title"`
RepoOwnerName string `json:"repo_owner_name"`
RepoName string `json:"repo_name"`
Created time.Time `json:"created"`
Seconds int64 `json:"seconds"`
Duration string `json:"duration"`
IssueIndex int64 `json:"issue_index"`
IssueTitle string `json:"issue_title"`
// username of the user or organization owning the repository
RepoOwnerName string `json:"repo_owner_name"`
RepoName string `json:"repo_name"`
}
// StopWatches represent a list of stopwatches

View File

@ -9,7 +9,8 @@ import (
// Package represents a package
type Package struct {
ID int64 `json:"id"`
ID int64 `json:"id"`
// username of the user or organization owning the package
Owner *User `json:"owner"`
Repository *Repository `json:"repository"`
Creator *User `json:"creator"`

View File

@ -48,15 +48,17 @@ type ExternalWiki struct {
// Repository represents a repository
type Repository struct {
ID int64 `json:"id"`
Owner *User `json:"owner"`
Name string `json:"name"`
FullName string `json:"full_name"`
Description string `json:"description"`
Empty bool `json:"empty"`
Private bool `json:"private"`
Fork bool `json:"fork"`
Template bool `json:"template"`
ID int64 `json:"id"`
// username of the user or organization owning the repository
Owner *User `json:"owner"`
Name string `json:"name"`
FullName string `json:"full_name"`
Description string `json:"description"`
Empty bool `json:"empty"`
Private bool `json:"private"`
Fork bool `json:"fork"`
Template bool `json:"template"`
// the original repository if the repository in the parameter is a fork; else empty
Parent *Repository `json:"parent,omitempty"`
Mirror bool `json:"mirror"`
Size int `json:"size"`
@ -228,11 +230,11 @@ type EditRepoOption struct {
// GenerateRepoOption options when creating repository using a template
// swagger:model
type GenerateRepoOption struct {
// The organization or person who will own the new repository
// username of the user or organization who will own the repository
//
// required: true
Owner string `json:"owner"`
// Name of the repository to create
// name of the repository to create
//
// required: true
// unique: true
@ -293,6 +295,7 @@ type UpdateBranchRepoOption struct {
// TransferRepoOption options when transfer a repository's ownership
// swagger:model
type TransferRepoOption struct {
// username of the user or organization who will own the repository
// required: true
NewOwner string `json:"new_owner"`
// ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
@ -354,8 +357,9 @@ type MigrateRepoOptions struct {
CloneAddr string `json:"clone_addr" binding:"Required"`
// deprecated (only for backwards compatibility)
RepoOwnerID int64 `json:"uid"`
// Name of User or Organisation who will own Repo after migration
// username of the user or organization who will own the repository after migration
RepoOwner string `json:"repo_owner"`
// name of the repo
// required: true
RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"`

View File

@ -15,9 +15,10 @@ type PublicKey struct {
Title string `json:"title,omitempty"`
Fingerprint string `json:"fingerprint,omitempty"`
// swagger:strfmt date-time
Created time.Time `json:"created_at"`
Updated time.Time `json:"last_used_at"`
Owner *User `json:"user,omitempty"`
ReadOnly bool `json:"read_only,omitempty"`
KeyType string `json:"key_type,omitempty"`
Created time.Time `json:"created_at"`
Updated time.Time `json:"last_used_at"`
// username of the user or organization owning the key
Owner *User `json:"user,omitempty"`
ReadOnly bool `json:"read_only,omitempty"`
KeyType string `json:"key_type,omitempty"`
}

View File

@ -65,7 +65,7 @@ func AdoptRepository(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -129,7 +129,7 @@ func DeleteUnadoptedRepository(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -52,7 +52,7 @@ func SigningKeyGPG(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -89,7 +89,7 @@ func SigningKeySSH(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -54,7 +54,7 @@ func ListRepoNotifications(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -142,7 +142,7 @@ func ReadRepoNotifications(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -28,7 +28,7 @@ func ListPackages(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the packages
// description: username of the user or organization owning the packages
// type: string
// required: true
// - name: page
@ -83,7 +83,7 @@ func GetPackage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type
@ -124,7 +124,7 @@ func DeletePackage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type
@ -166,7 +166,7 @@ func ListPackageFiles(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type
@ -208,7 +208,7 @@ func ListPackageVersions(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type
@ -264,7 +264,7 @@ func GetLatestPackageVersion(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type
@ -321,7 +321,7 @@ func LinkPackage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type
@ -388,7 +388,7 @@ func UnlinkPackage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the package
// description: username of the user or organization owning the package
// type: string
// required: true
// - name: type

View File

@ -46,7 +46,7 @@ func (Action) ListActionsSecrets(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repository
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -106,7 +106,7 @@ func (Action) CreateOrUpdateSecret(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repository
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -168,7 +168,7 @@ func (Action) DeleteSecret(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repository
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -216,7 +216,7 @@ func (Action) GetVariable(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -270,7 +270,7 @@ func (Action) DeleteVariable(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -319,7 +319,7 @@ func (Action) CreateVariable(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -386,7 +386,7 @@ func (Action) UpdateVariable(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -458,7 +458,7 @@ func (Action) ListVariables(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -516,7 +516,7 @@ func (Action) GetRegistrationToken(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -541,7 +541,7 @@ func (Action) CreateRegistrationToken(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -566,7 +566,7 @@ func (Action) ListRunners(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -594,7 +594,7 @@ func (Action) GetRunner(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -627,7 +627,7 @@ func (Action) DeleteRunner(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -778,7 +778,7 @@ func ListActionTasks(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -842,7 +842,7 @@ func ActionsListRepositoryWorkflows(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -882,7 +882,7 @@ func ActionsGetWorkflow(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -932,7 +932,7 @@ func ActionsDisableWorkflow(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -980,7 +980,7 @@ func ActionsDispatchWorkflow(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1059,7 +1059,7 @@ func ActionsEnableWorkflow(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1261,7 +1261,7 @@ func GetArtifactsOfRun(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1330,7 +1330,7 @@ func DeleteActionRun(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1382,7 +1382,7 @@ func GetArtifacts(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1443,7 +1443,7 @@ func GetArtifact(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1492,7 +1492,7 @@ func DeleteArtifact(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1559,7 +1559,7 @@ func DownloadArtifact(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -21,7 +21,7 @@ func DownloadActionsRunJobLogs(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: name of the owner
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -23,7 +23,7 @@ func UpdateAvatar(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -66,7 +66,7 @@ func DeleteAvatar(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -20,7 +20,7 @@ func GetBlob(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -38,7 +38,7 @@ func GetBranch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -99,7 +99,7 @@ func DeleteBranch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -179,7 +179,7 @@ func CreateBranch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -290,7 +290,7 @@ func ListBranches(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -392,7 +392,7 @@ func UpdateBranch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -468,7 +468,7 @@ func GetBranchProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -512,7 +512,7 @@ func ListBranchProtections(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -550,7 +550,7 @@ func CreateBranchProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -742,7 +742,7 @@ func EditBranchProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1069,7 +1069,7 @@ func DeleteBranchProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1120,7 +1120,7 @@ func UpdateBranchProtectionPriories(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1161,7 +1161,7 @@ func MergeUpstream(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -33,7 +33,7 @@ func ListCollaborators(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -83,7 +83,7 @@ func IsCollaborator(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -135,7 +135,7 @@ func AddOrUpdateCollaborator(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -206,7 +206,7 @@ func DeleteCollaborator(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -254,7 +254,7 @@ func GetRepoPermissions(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -310,7 +310,7 @@ func GetReviewers(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -348,7 +348,7 @@ func GetAssignees(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -30,7 +30,7 @@ func GetSingleCommit(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -101,7 +101,7 @@ func GetAllCommits(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -315,7 +315,7 @@ func DownloadCommitDiffOrPatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -362,7 +362,7 @@ func GetCommitPullRequest(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -24,7 +24,7 @@ func CompareDiff(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -47,7 +47,7 @@ func GetRawFile(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -100,7 +100,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -263,7 +263,7 @@ func GetArchive(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -362,7 +362,7 @@ func GetEditorconfig(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -464,7 +464,7 @@ func ChangeFiles(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -533,7 +533,7 @@ func CreateFile(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -602,7 +602,7 @@ func UpdateFile(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -724,7 +724,7 @@ func DeleteFile(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -869,7 +869,7 @@ func GetContents(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -929,7 +929,7 @@ func GetContentsList(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -962,7 +962,7 @@ func GetFileContentsGet(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1004,7 +1004,7 @@ func GetFileContentsPost(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -33,7 +33,7 @@ func ListForks(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -93,7 +93,7 @@ func CreateFork(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to fork
// description: username of the user or organization owning the repository to fork
// type: string
// required: true
// - name: repo

View File

@ -24,7 +24,7 @@ func ListGitHooks(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -61,7 +61,7 @@ func GetGitHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -103,7 +103,7 @@ func EditGitHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -157,7 +157,7 @@ func DeleteGitHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -24,7 +24,7 @@ func GetGitAllRefs(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -52,7 +52,7 @@ func GetGitRefs(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -32,7 +32,7 @@ func ListHooks(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -88,7 +88,7 @@ func GetHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -132,7 +132,7 @@ func TestHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -208,7 +208,7 @@ func CreateHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -239,7 +239,7 @@ func EditHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -277,7 +277,7 @@ func DeleteHook(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -336,7 +336,7 @@ func ListIssues(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -593,7 +593,7 @@ func GetIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -641,7 +641,7 @@ func CreateIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -764,7 +764,7 @@ func EditIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -948,7 +948,7 @@ func DeleteIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -999,7 +999,7 @@ func UpdateIssueDeadline(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -29,7 +29,7 @@ func GetIssueAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -78,7 +78,7 @@ func ListIssueAttachments(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -123,7 +123,7 @@ func CreateIssueAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -218,7 +218,7 @@ func EditIssueAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -285,7 +285,7 @@ func DeleteIssueAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -33,7 +33,7 @@ func ListIssueComments(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -129,7 +129,7 @@ func ListIssueCommentsAndTimeline(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -240,7 +240,7 @@ func ListRepoIssueComments(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -351,7 +351,7 @@ func CreateIssueComment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -421,7 +421,7 @@ func GetIssueComment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -494,7 +494,7 @@ func EditIssueComment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -541,7 +541,7 @@ func EditIssueCommentDeprecated(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -633,7 +633,7 @@ func DeleteIssueComment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -667,7 +667,7 @@ func DeleteIssueCommentDeprecated(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -31,7 +31,7 @@ func GetIssueCommentAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -84,7 +84,7 @@ func ListIssueCommentAttachments(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -128,7 +128,7 @@ func CreateIssueCommentAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -234,7 +234,7 @@ func EditIssueCommentAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -298,7 +298,7 @@ func DeleteIssueCommentAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -28,7 +28,7 @@ func GetIssueDependencies(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -163,7 +163,7 @@ func CreateIssueDependency(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -224,7 +224,7 @@ func RemoveIssueDependency(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -285,7 +285,7 @@ func GetIssueBlocks(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -388,7 +388,7 @@ func CreateIssueBlocking(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -445,7 +445,7 @@ func RemoveIssueBlocking(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -27,7 +27,7 @@ func ListIssueLabels(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -77,7 +77,7 @@ func AddIssueLabels(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -133,7 +133,7 @@ func DeleteIssueLabel(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -208,7 +208,7 @@ func ReplaceIssueLabels(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -263,7 +263,7 @@ func ClearIssueLabels(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -25,7 +25,7 @@ func LockIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -97,7 +97,7 @@ func UnlockIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -20,7 +20,7 @@ func PinIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -77,7 +77,7 @@ func UnpinIssue(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -132,7 +132,7 @@ func MoveIssuePin(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -188,7 +188,7 @@ func ListPinnedIssues(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -220,7 +220,7 @@ func ListPinnedPullRequests(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -277,7 +277,7 @@ func AreNewIssuePinsAllowed(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -29,7 +29,7 @@ func GetIssueCommentReactions(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -111,7 +111,7 @@ func PostIssueCommentReaction(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -156,7 +156,7 @@ func DeleteIssueCommentReaction(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -265,7 +265,7 @@ func GetIssueReactions(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -346,7 +346,7 @@ func PostIssueReaction(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -389,7 +389,7 @@ func DeleteIssueReaction(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -24,7 +24,7 @@ func StartIssueStopwatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -76,7 +76,7 @@ func StopIssueStopwatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -127,7 +127,7 @@ func DeleteIssueStopwatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -27,7 +27,7 @@ func AddIssueSubscription(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -71,7 +71,7 @@ func DelIssueSubscription(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -165,7 +165,7 @@ func CheckIssueSubscription(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -223,7 +223,7 @@ func GetIssueSubscribers(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -29,7 +29,7 @@ func ListTrackedTimes(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -153,7 +153,7 @@ func AddTime(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -240,7 +240,7 @@ func ResetIssueTime(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -307,7 +307,7 @@ func DeleteTime(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -395,7 +395,7 @@ func ListTrackedTimesByUser(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -468,7 +468,7 @@ func ListTrackedTimesByRepository(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -53,7 +53,7 @@ func ListDeployKeys(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -123,7 +123,7 @@ func GetDeployKey(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -211,7 +211,7 @@ func CreateDeployKey(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -257,7 +257,7 @@ func DeleteDeploykey(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -27,7 +27,7 @@ func ListLabels(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -75,7 +75,7 @@ func GetLabel(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -129,7 +129,7 @@ func CreateLabel(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -185,7 +185,7 @@ func EditLabel(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -256,7 +256,7 @@ func DeleteLabel(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -53,7 +53,7 @@ func GetLanguages(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -21,7 +21,7 @@ func GetLicenses(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -30,7 +30,7 @@ func ListMilestones(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -97,7 +97,7 @@ func GetMilestone(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -136,7 +136,7 @@ func CreateMilestone(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -191,7 +191,7 @@ func EditMilestone(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -247,7 +247,7 @@ func DeleteMilestone(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -33,7 +33,7 @@ func MirrorSync(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to sync
// description: username of the user or organization owning the repository to sync
// type: string
// required: true
// - name: repo
@ -84,7 +84,7 @@ func PushMirrorSync(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to sync
// description: username of the user or organization owning the repository to sync
// type: string
// required: true
// - name: repo
@ -133,7 +133,7 @@ func ListPushMirrors(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -194,7 +194,7 @@ func GetPushMirrorByName(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -256,7 +256,7 @@ func AddPushMirror(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -297,7 +297,7 @@ func DeletePushMirrorByRemoteName(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -23,7 +23,7 @@ func GetNote(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -24,7 +24,7 @@ func ApplyDiffPatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -52,7 +52,7 @@ func ListPullRequests(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: Owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -165,7 +165,7 @@ func GetPullRequest(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -220,7 +220,7 @@ func GetPullRequestByBaseHead(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -309,7 +309,7 @@ func DownloadPullDiffOrPatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -374,7 +374,7 @@ func CreatePullRequest(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -584,7 +584,7 @@ func EditPullRequest(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -814,7 +814,7 @@ func IsPullRequestMerged(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -860,7 +860,7 @@ func MergePullRequest(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1221,7 +1221,7 @@ func UpdatePullRequest(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1327,7 +1327,7 @@ func CancelScheduledAutoMerge(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1401,7 +1401,7 @@ func GetPullRequestCommits(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1523,7 +1523,7 @@ func GetPullRequestFiles(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -33,7 +33,7 @@ func ListPullReviews(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -118,7 +118,7 @@ func GetPullReview(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -168,7 +168,7 @@ func GetPullReviewComments(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -218,7 +218,7 @@ func DeletePullReview(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -278,7 +278,7 @@ func CreatePullReview(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -399,7 +399,7 @@ func SubmitPullReview(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -583,7 +583,7 @@ func CreateReviewRequests(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -624,7 +624,7 @@ func DeleteReviewRequests(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -802,7 +802,7 @@ func DismissPullReview(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -850,7 +850,7 @@ func UnDismissPullReview(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -31,7 +31,7 @@ func GetRelease(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -79,7 +79,7 @@ func GetLatestRelease(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -120,7 +120,7 @@ func ListReleases(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -197,7 +197,7 @@ func CreateRelease(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -297,7 +297,7 @@ func EditRelease(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -377,7 +377,7 @@ func DeleteRelease(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -46,7 +46,7 @@ func GetReleaseAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -106,7 +106,7 @@ func ListReleaseAttachments(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -160,7 +160,7 @@ func CreateReleaseAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -264,7 +264,7 @@ func EditReleaseAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -345,7 +345,7 @@ func DeleteReleaseAttachment(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -22,7 +22,7 @@ func GetReleaseByTag(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -73,7 +73,7 @@ func DeleteReleaseByTag(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -329,7 +329,7 @@ func Generate(ctx *context.APIContext) {
// parameters:
// - name: template_owner
// in: path
// description: name of the template repository owner
// description: username of the user or organization to own the template repository
// type: string
// required: true
// - name: template_repo
@ -533,7 +533,7 @@ func Get(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -606,7 +606,7 @@ func Edit(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to edit
// description: username of the user or organization owning the repository to edit
// type: string
// required: true
// - name: repo
@ -1137,7 +1137,7 @@ func Delete(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to delete
// description: username of the user or organization owning the repository to delete
// type: string
// required: true
// - name: repo
@ -1188,7 +1188,7 @@ func GetIssueTemplates(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1218,7 +1218,7 @@ func GetIssueConfig(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1245,7 +1245,7 @@ func ValidateIssueConfig(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -1276,7 +1276,7 @@ func ListRepoActivityFeeds(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -23,7 +23,7 @@ func ListStargazers(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -27,7 +27,7 @@ func NewCommitStatus(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -82,7 +82,7 @@ func GetCommitStatuses(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -136,7 +136,7 @@ func GetCommitStatusesByRef(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -222,7 +222,7 @@ func GetCombinedCommitStatusByRef(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -23,7 +23,7 @@ func ListSubscribers(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -31,7 +31,7 @@ func ListTags(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -80,7 +80,7 @@ func GetAnnotatedTag(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -128,7 +128,7 @@ func GetTag(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -166,7 +166,7 @@ func CreateTag(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -236,7 +236,7 @@ func DeleteTag(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -301,7 +301,7 @@ func ListTagProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -337,7 +337,7 @@ func GetTagProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -384,7 +384,7 @@ func CreateTagProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -491,7 +491,7 @@ func EditTagProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -596,7 +596,7 @@ func DeleteTagProtection(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -23,7 +23,7 @@ func ListTeams(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -67,7 +67,7 @@ func IsTeam(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -121,7 +121,7 @@ func AddTeam(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -157,7 +157,7 @@ func DeleteTeam(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -27,7 +27,7 @@ func ListTopics(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -81,7 +81,7 @@ func UpdateTopics(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -141,7 +141,7 @@ func AddTopic(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -208,7 +208,7 @@ func DeleteTopic(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -32,7 +32,7 @@ func Transfer(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to transfer
// description: username of the user or organization owning the repository to transfer
// type: string
// required: true
// - name: repo
@ -143,7 +143,7 @@ func AcceptTransfer(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to transfer
// description: username of the user or organization owning the repository to transfer
// type: string
// required: true
// - name: repo
@ -187,7 +187,7 @@ func RejectTransfer(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to transfer
// description: username of the user or organization owning the repository to transfer
// type: string
// required: true
// - name: repo

View File

@ -20,7 +20,7 @@ func GetTree(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -32,7 +32,7 @@ func NewWikiPage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -105,7 +105,7 @@ func EditWikiPage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -219,7 +219,7 @@ func DeleteWikiPage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -268,7 +268,7 @@ func ListWikiPages(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -347,7 +347,7 @@ func GetWikiPage(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -385,7 +385,7 @@ func ListPageRevisions(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

View File

@ -119,7 +119,7 @@ func IsStarring(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -150,7 +150,7 @@ func Star(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to star
// description: username of the user or organization owning the repository to star
// type: string
// required: true
// - name: repo
@ -186,7 +186,7 @@ func Unstar(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo to unstar
// description: username of the user or organization owning the repository to unstar
// type: string
// required: true
// - name: repo

View File

@ -113,7 +113,7 @@ func IsWatching(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -149,7 +149,7 @@ func Watch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo
@ -192,7 +192,7 @@ func Unwatch(ctx *context.APIContext) {
// parameters:
// - name: owner
// in: path
// description: owner of the repo
// description: username of the user or organization owning the repository
// type: string
// required: true
// - name: repo

File diff suppressed because it is too large Load Diff