2017-11-13 15:02:25 +08:00
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
|
|
|
"code.gitea.io/gitea/modules/auth"
|
|
|
|
api "code.gitea.io/sdk/gitea"
|
|
|
|
)
|
|
|
|
|
|
|
|
// not actually a response, just a hack to get go-swagger to include definitions
|
|
|
|
// of the various XYZOption structs
|
|
|
|
|
2018-05-31 19:13:55 +08:00
|
|
|
// parameterBodies
|
2017-11-13 15:02:25 +08:00
|
|
|
// swagger:response parameterBodies
|
|
|
|
type swaggerParameterBodies struct {
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
AddCollaboratorOption api.AddCollaboratorOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateEmailOption api.CreateEmailOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
DeleteEmailOption api.DeleteEmailOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateHookOption api.CreateHookOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditHookOption api.EditHookOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2019-04-17 13:31:08 +08:00
|
|
|
// in:body
|
|
|
|
EditGitHookOption api.EditGitHookOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateIssueOption api.CreateIssueOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditIssueOption api.EditIssueOption
|
2018-07-16 20:43:00 +08:00
|
|
|
// in:body
|
|
|
|
EditDeadlineOption api.EditDeadlineOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateIssueCommentOption api.CreateIssueCommentOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditIssueCommentOption api.EditIssueCommentOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
IssueLabelsOption api.IssueLabelsOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateKeyOption api.CreateKeyOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateLabelOption api.CreateLabelOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditLabelOption api.EditLabelOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
MarkdownOption api.MarkdownOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateMilestoneOption api.CreateMilestoneOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditMilestoneOption api.EditMilestoneOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateOrgOption api.CreateOrgOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditOrgOption api.EditOrgOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreatePullRequestOption api.CreatePullRequestOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditPullRequestOption api.EditPullRequestOption
|
2019-02-08 16:08:38 +08:00
|
|
|
// in:body
|
|
|
|
MergePullRequestOption auth.MergePullRequestForm
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateReleaseOption api.CreateReleaseOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditReleaseOption api.EditReleaseOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateRepoOption api.CreateRepoOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateForkOption api.CreateForkOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateStatusOption api.CreateStatusOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateTeamOption api.CreateTeamOption
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditTeamOption api.EditTeamOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
AddTimeOption api.AddTimeOption
|
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
CreateUserOption api.CreateUserOption
|
2019-04-18 00:06:35 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
|
|
|
EditUserOption api.EditUserOption
|
2017-11-13 15:02:25 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2017-11-13 15:02:25 +08:00
|
|
|
MigrateRepoForm auth.MigrateRepoForm
|
2018-03-06 09:22:16 +08:00
|
|
|
|
2018-06-12 22:59:22 +08:00
|
|
|
// in:body
|
2018-03-06 09:22:16 +08:00
|
|
|
EditAttachmentOptions api.EditAttachmentOptions
|
2019-04-18 00:06:35 +08:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
CreateFileOptions api.CreateFileOptions
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
UpdateFileOptions api.UpdateFileOptions
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
DeleteFileOptions api.DeleteFileOptions
|
2017-11-13 15:02:25 +08:00
|
|
|
}
|