summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/options.go
blob: 3ea324186d728838faadb023e9848f7436c3d1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// 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

// swagger:response parameterBodies
type swaggerParameterBodies struct {
	AddCollaboratorOption api.AddCollaboratorOption

	CreateEmailOption api.CreateEmailOption
	DeleteEmailOption api.DeleteEmailOption

	CreateHookOption api.CreateHookOption
	EditHookOption   api.EditHookOption

	CreateIssueOption api.CreateIssueOption
	EditIssueOption   api.EditIssueOption

	CreateIssueCommentOption api.CreateIssueCommentOption
	EditIssueCommentOption   api.EditIssueCommentOption

	IssueLabelsOption api.IssueLabelsOption

	CreateKeyOption api.CreateKeyOption

	CreateLabelOption api.CreateLabelOption
	EditLabelOption   api.EditLabelOption

	MarkdownOption api.MarkdownOption

	CreateMilestoneOption api.CreateMilestoneOption
	EditMilestoneOption   api.EditMilestoneOption

	CreateOrgOption api.CreateOrgOption
	EditOrgOption   api.EditOrgOption

	CreatePullRequestOption api.CreatePullRequestOption
	EditPullRequestOption   api.EditPullRequestOption

	CreateReleaseOption api.CreateReleaseOption
	EditReleaseOption   api.EditReleaseOption

	CreateRepoOption api.CreateRepoOption
	CreateForkOption api.CreateForkOption

	CreateStatusOption api.CreateStatusOption

	CreateTeamOption api.CreateTeamOption
	EditTeamOption   api.EditTeamOption

	AddTimeOption api.AddTimeOption

	CreateUserOption api.CreateUserOption
	EditUserOption   api.EditUserOption

	MigrateRepoForm auth.MigrateRepoForm

	EditAttachmentOptions api.EditAttachmentOptions
}