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