Files

234 lines
4.9 KiB
Go
Raw Permalink Normal View History

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