2017-11-13 00:02:25 -07: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 (
|
2019-05-11 04:21:34 -06:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2021-04-06 13:44:05 -06:00
|
|
|
"code.gitea.io/gitea/services/forms"
|
2017-11-13 00:02:25 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
// not actually a response, just a hack to get go-swagger to include definitions
|
|
|
|
// of the various XYZOption structs
|
|
|
|
|
2018-05-31 05:13:55 -06:00
|
|
|
// parameterBodies
|
2017-11-13 00:02:25 -07:00
|
|
|
// swagger:response parameterBodies
|
|
|
|
type swaggerParameterBodies struct {
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
AddCollaboratorOption api.AddCollaboratorOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateEmailOption api.CreateEmailOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
DeleteEmailOption api.DeleteEmailOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateHookOption api.CreateHookOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditHookOption api.EditHookOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2019-04-16 23:31:08 -06:00
|
|
|
// in:body
|
|
|
|
EditGitHookOption api.EditGitHookOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateIssueOption api.CreateIssueOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditIssueOption api.EditIssueOption
|
2018-07-16 06:43:00 -06:00
|
|
|
// in:body
|
|
|
|
EditDeadlineOption api.EditDeadlineOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateIssueCommentOption api.CreateIssueCommentOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditIssueCommentOption api.EditIssueCommentOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
IssueLabelsOption api.IssueLabelsOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateKeyOption api.CreateKeyOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateLabelOption api.CreateLabelOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditLabelOption api.EditLabelOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
MarkdownOption api.MarkdownOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateMilestoneOption api.CreateMilestoneOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditMilestoneOption api.EditMilestoneOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateOrgOption api.CreateOrgOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditOrgOption api.EditOrgOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreatePullRequestOption api.CreatePullRequestOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditPullRequestOption api.EditPullRequestOption
|
2019-02-08 01:08:38 -07:00
|
|
|
// in:body
|
2021-04-06 13:44:05 -06:00
|
|
|
MergePullRequestOption forms.MergePullRequestForm
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateReleaseOption api.CreateReleaseOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditReleaseOption api.EditReleaseOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateRepoOption api.CreateRepoOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2019-05-30 09:09:05 -06:00
|
|
|
EditRepoOption api.EditRepoOption
|
|
|
|
// in:body
|
2020-01-31 08:49:04 -07:00
|
|
|
TransferRepoOption api.TransferRepoOption
|
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateForkOption api.CreateForkOption
|
2021-07-05 09:29:08 -06:00
|
|
|
// in:body
|
|
|
|
GenerateRepoOption api.GenerateRepoOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateStatusOption api.CreateStatusOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateTeamOption api.CreateTeamOption
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditTeamOption api.EditTeamOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
AddTimeOption api.AddTimeOption
|
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2017-11-13 00:02:25 -07:00
|
|
|
CreateUserOption api.CreateUserOption
|
2019-04-17 10:06:35 -06:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
|
|
|
EditUserOption api.EditUserOption
|
2017-11-13 00:02:25 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2021-04-06 13:44:05 -06:00
|
|
|
MigrateRepoForm forms.MigrateRepoForm
|
2018-03-05 18:22:16 -07:00
|
|
|
|
2018-06-12 08:59:22 -06:00
|
|
|
// in:body
|
2018-03-05 18:22:16 -07:00
|
|
|
EditAttachmentOptions api.EditAttachmentOptions
|
2019-04-17 10:06:35 -06:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
CreateFileOptions api.CreateFileOptions
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
UpdateFileOptions api.UpdateFileOptions
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
DeleteFileOptions api.DeleteFileOptions
|
2019-09-03 09:46:24 -06:00
|
|
|
|
2019-12-23 19:33:52 -07:00
|
|
|
// in:body
|
|
|
|
CommitDateOptions api.CommitDateOptions
|
|
|
|
|
2019-09-03 09:46:24 -06:00
|
|
|
// in:body
|
|
|
|
RepoTopicOptions api.RepoTopicOptions
|
2019-12-31 01:21:21 -07:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
EditReactionOption api.EditReactionOption
|
2020-02-12 16:19:35 -07:00
|
|
|
|
2020-05-29 12:16:20 -06:00
|
|
|
// in:body
|
|
|
|
CreateBranchRepoOption api.CreateBranchRepoOption
|
|
|
|
|
2020-02-12 16:19:35 -07:00
|
|
|
// in:body
|
|
|
|
CreateBranchProtectionOption api.CreateBranchProtectionOption
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
EditBranchProtectionOption api.EditBranchProtectionOption
|
2020-02-28 23:19:32 -07:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
CreateOAuth2ApplicationOptions api.CreateOAuth2ApplicationOptions
|
2020-05-01 18:20:51 -06:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
CreatePullReviewOptions api.CreatePullReviewOptions
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
CreatePullReviewComment api.CreatePullReviewComment
|
|
|
|
|
|
|
|
// in:body
|
|
|
|
SubmitPullReviewOptions api.SubmitPullReviewOptions
|
2020-09-10 16:29:19 -06:00
|
|
|
|
2021-02-11 10:32:25 -07:00
|
|
|
// in:body
|
|
|
|
DismissPullReviewOptions api.DismissPullReviewOptions
|
|
|
|
|
2020-09-10 16:29:19 -06:00
|
|
|
// in:body
|
|
|
|
MigrateRepoOptions api.MigrateRepoOptions
|
2020-10-20 12:18:25 -06:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
PullReviewRequestOptions api.PullReviewRequestOptions
|
2021-06-17 10:04:10 -06:00
|
|
|
|
|
|
|
// in:body
|
|
|
|
CreateTagOption api.CreateTagOption
|
2021-06-23 13:58:44 -06:00
|
|
|
|
2021-08-01 14:44:15 -06:00
|
|
|
// in:body
|
|
|
|
CreateAccessTokenOption api.CreateAccessTokenOption
|
|
|
|
|
2021-06-23 13:58:44 -06:00
|
|
|
// in:body
|
|
|
|
UserSettingsOptions api.UserSettingsOptions
|
2017-11-13 00:02:25 -07:00
|
|
|
}
|