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