summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-11 18:21:34 +0800
committerGitHub <noreply@github.com>2019-05-11 18:21:34 +0800
commit34eee25bd42d19287e3e33afd169cc979ab61f37 (patch)
tree8def3b2f224745e3fbc0adaec2f01d7f752c443d /templates
parent1658cd04e9918109867f2745ddf760d260681878 (diff)
downloadgitea-34eee25bd42d19287e3e33afd169cc979ab61f37.tar.gz
gitea-34eee25bd42d19287e3e33afd169cc979ab61f37.zip
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl174
1 files changed, 87 insertions, 87 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 198c18919e..0752e7be2b 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -6673,7 +6673,7 @@
"x-go-name": "Permission"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"AddTimeOption": {
"description": "AddTimeOption options for adding time to an issue",
@@ -6689,7 +6689,7 @@
"x-go-name": "Time"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Attachment": {
"description": "Attachment a generic attachment",
@@ -6728,7 +6728,7 @@
"x-go-name": "UUID"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Branch": {
"description": "Branch represents a repository branch",
@@ -6742,7 +6742,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Comment": {
"description": "Comment represents a comment on a commit or issue",
@@ -6783,7 +6783,7 @@
"$ref": "#/definitions/User"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Commit": {
"type": "object",
@@ -6818,7 +6818,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CommitMeta": {
"type": "object",
@@ -6833,7 +6833,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CommitUser": {
"type": "object",
@@ -6853,7 +6853,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateEmailOption": {
"description": "CreateEmailOption options when creating email addresses",
@@ -6868,7 +6868,7 @@
"x-go-name": "Emails"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateFileOptions": {
"description": "CreateFileOptions options for creating files",
@@ -6897,7 +6897,7 @@
"x-go-name": "NewBranchName"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateForkOption": {
"description": "CreateForkOption options for creating a fork",
@@ -6909,7 +6909,7 @@
"x-go-name": "Organization"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateGPGKeyOption": {
"description": "CreateGPGKeyOption options create user GPG key",
@@ -6925,7 +6925,7 @@
"x-go-name": "ArmoredKey"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateHookOption": {
"description": "CreateHookOption options when create a hook",
@@ -6965,7 +6965,7 @@
"x-go-name": "Type"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateIssueCommentOption": {
"description": "CreateIssueCommentOption options for creating a comment on an issue",
@@ -6979,7 +6979,7 @@
"x-go-name": "Body"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateIssueOption": {
"description": "CreateIssueOption options to create one issue",
@@ -7033,7 +7033,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateKeyOption": {
"description": "CreateKeyOption options when creating a key",
@@ -7061,7 +7061,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateLabelOption": {
"description": "CreateLabelOption options for creating a label",
@@ -7081,7 +7081,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateMilestoneOption": {
"description": "CreateMilestoneOption options for creating a milestone",
@@ -7101,7 +7101,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateOrgOption": {
"description": "CreateOrgOption options for creating an organization",
@@ -7134,7 +7134,7 @@
"x-go-name": "Website"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreatePullRequestOption": {
"description": "CreatePullRequestOption options when creating a pull request",
@@ -7186,7 +7186,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateReleaseOption": {
"description": "CreateReleaseOption options when creating a release",
@@ -7220,7 +7220,7 @@
"x-go-name": "Target"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateRepoOption": {
"description": "CreateRepoOption options when creating repository",
@@ -7266,7 +7266,7 @@
"x-go-name": "Readme"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateStatusOption": {
"description": "CreateStatusOption holds the information needed to create a new Status for a Commit",
@@ -7288,7 +7288,7 @@
"x-go-name": "TargetURL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateTeamOption": {
"description": "CreateTeamOption options for creating a team",
@@ -7331,7 +7331,7 @@
"x-go-name": "Units"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CreateUserOption": {
"description": "CreateUserOption create user options",
@@ -7377,7 +7377,7 @@
"x-go-name": "Username"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"DeleteEmailOption": {
"description": "DeleteEmailOption options when deleting email addresses",
@@ -7392,7 +7392,7 @@
"x-go-name": "Emails"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"DeleteFileOptions": {
"description": "DeleteFileOptions options for deleting files (used for other File structs below)",
@@ -7421,7 +7421,7 @@
"x-go-name": "SHA"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"DeployKey": {
"description": "DeployKey a deploy key",
@@ -7466,7 +7466,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditAttachmentOptions": {
"description": "EditAttachmentOptions options for editing attachments",
@@ -7477,7 +7477,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditDeadlineOption": {
"description": "EditDeadlineOption options for creating a deadline",
@@ -7492,7 +7492,7 @@
"x-go-name": "Deadline"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditGitHookOption": {
"description": "EditGitHookOption options when modifying one Git hook",
@@ -7503,7 +7503,7 @@
"x-go-name": "Content"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditHookOption": {
"description": "EditHookOption options when modify one hook",
@@ -7528,7 +7528,7 @@
"x-go-name": "Events"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditIssueCommentOption": {
"description": "EditIssueCommentOption options for editing a comment",
@@ -7542,7 +7542,7 @@
"x-go-name": "Body"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditIssueOption": {
"description": "EditIssueOption options for editing an issue",
@@ -7582,7 +7582,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditLabelOption": {
"description": "EditLabelOption options for editing a label",
@@ -7597,7 +7597,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditMilestoneOption": {
"description": "EditMilestoneOption options for editing a milestone",
@@ -7621,7 +7621,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditOrgOption": {
"description": "EditOrgOption options for editing an organization",
@@ -7644,7 +7644,7 @@
"x-go-name": "Website"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditPullRequestOption": {
"description": "EditPullRequestOption options when modify pull request",
@@ -7692,7 +7692,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditReleaseOption": {
"description": "EditReleaseOption options when editing a release",
@@ -7723,7 +7723,7 @@
"x-go-name": "Target"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditTeamOption": {
"description": "EditTeamOption options for editing a team",
@@ -7766,7 +7766,7 @@
"x-go-name": "Units"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"EditUserOption": {
"description": "EditUserOption edit user options",
@@ -7839,7 +7839,7 @@
"x-go-name": "Website"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Email": {
"description": "Email an email address belonging to a user",
@@ -7859,7 +7859,7 @@
"x-go-name": "Verified"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"FileCommitResponse": {
"type": "object",
@@ -7898,7 +7898,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"FileContentResponse": {
"description": "FileContentResponse contains information about a repo's file stats and content",
@@ -7945,7 +7945,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"FileDeleteResponse": {
"description": "FileDeleteResponse contains information about a repo's file that was deleted",
@@ -7962,7 +7962,7 @@
"$ref": "#/definitions/PayloadCommitVerification"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"FileLinksResponse": {
"description": "FileLinksResponse contains the links for a repo's file",
@@ -7981,7 +7981,7 @@
"x-go-name": "Self"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"FileResponse": {
"description": "FileResponse contains information about a repo's file",
@@ -7997,7 +7997,7 @@
"$ref": "#/definitions/PayloadCommitVerification"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GPGKey": {
"description": "GPGKey a user GPG key to sign commit and tag in repository",
@@ -8061,7 +8061,7 @@
"x-go-name": "SubsKey"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GPGKeyEmail": {
"description": "GPGKeyEmail an email attached to a GPGKey",
@@ -8076,7 +8076,7 @@
"x-go-name": "Verified"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GitBlobResponse": {
"description": "GitBlobResponse represents a git blob",
@@ -8104,7 +8104,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GitEntry": {
"description": "GitEntry represents a git tree",
@@ -8136,7 +8136,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GitHook": {
"description": "GitHook represents a Git repository hook",
@@ -8155,7 +8155,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GitObject": {
"type": "object",
@@ -8174,7 +8174,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GitTreeResponse": {
"description": "GitTreeResponse returns a git tree",
@@ -8210,7 +8210,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Hook": {
"description": "Hook a hook is a web hook when one repository changed",
@@ -8254,7 +8254,7 @@
"x-go-name": "Updated"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Identity": {
"description": "Identity for a person's identity like an author or committer",
@@ -8270,7 +8270,7 @@
"x-go-name": "Name"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Issue": {
"description": "Issue represents an issue in a repository",
@@ -8353,7 +8353,7 @@
"$ref": "#/definitions/User"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"IssueDeadline": {
"description": "IssueDeadline represents an issue deadline",
@@ -8365,7 +8365,7 @@
"x-go-name": "Deadline"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"IssueLabelsOption": {
"description": "IssueLabelsOption a collection of labels",
@@ -8381,7 +8381,7 @@
"x-go-name": "Labels"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Label": {
"description": "Label a label to an issue or a pr",
@@ -8406,7 +8406,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"MarkdownOption": {
"description": "MarkdownOption markdown options",
@@ -8429,7 +8429,7 @@
"type": "boolean"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"MergePullRequestOption": {
"description": "MergePullRequestForm form for merging Pull Request",
@@ -8567,7 +8567,7 @@
"x-go-name": "Title"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Organization": {
"description": "Organization represents an organization",
@@ -8606,7 +8606,7 @@
"x-go-name": "Website"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PRBranchInfo": {
"description": "PRBranchInfo information about a branch",
@@ -8633,7 +8633,7 @@
"x-go-name": "Sha"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PayloadCommit": {
"description": "PayloadCommit represents a commit",
@@ -8688,7 +8688,7 @@
"$ref": "#/definitions/PayloadCommitVerification"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PayloadCommitVerification": {
"description": "PayloadCommitVerification represents the GPG verification of a commit",
@@ -8711,7 +8711,7 @@
"x-go-name": "Verified"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PayloadUser": {
"description": "PayloadUser represents the author or committer of a commit",
@@ -8732,7 +8732,7 @@
"x-go-name": "UserName"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Permission": {
"description": "Permission represents a set of permissions",
@@ -8751,7 +8751,7 @@
"x-go-name": "Push"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PublicKey": {
"description": "PublicKey publickey is a user key to push code to repository",
@@ -8795,7 +8795,7 @@
"$ref": "#/definitions/User"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PullRequest": {
"description": "PullRequest represents a pull request",
@@ -8917,7 +8917,7 @@
"$ref": "#/definitions/User"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"PullRequestMeta": {
"description": "PullRequestMeta PR info if an issue is a PR",
@@ -8933,7 +8933,7 @@
"x-go-name": "Merged"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Reference": {
"type": "object",
@@ -8951,7 +8951,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Release": {
"description": "Release represents a repository release",
@@ -9019,7 +9019,7 @@
"x-go-name": "ZipURL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"RepoCommit": {
"type": "object",
@@ -9043,7 +9043,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Repository": {
"description": "Repository represents a repository",
@@ -9151,7 +9151,7 @@
"x-go-name": "Website"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"SearchResults": {
"description": "SearchResults results of a successful search",
@@ -9169,7 +9169,7 @@
"x-go-name": "OK"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"ServerVersion": {
"description": "ServerVersion wraps the version of the server",
@@ -9180,12 +9180,12 @@
"x-go-name": "Version"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"StateType": {
"description": "StateType issue state type",
"type": "string",
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Status": {
"description": "Status holds a single Status of a single Commit",
@@ -9229,12 +9229,12 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"StatusState": {
"description": "StatusState holds the state of a Status\nIt can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\"",
"type": "string",
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Tag": {
"description": "Tag represents a repository tag",
@@ -9267,7 +9267,7 @@
"x-go-name": "ZipballURL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Team": {
"description": "Team represents a team in an organization",
@@ -9317,7 +9317,7 @@
"x-go-name": "Units"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"TimeStamp": {
"description": "TimeStamp defines a timestamp",
@@ -9356,7 +9356,7 @@
"x-go-name": "UserID"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"UpdateFileOptions": {
"description": "UpdateFileOptions options for updating files",
@@ -9393,7 +9393,7 @@
"x-go-name": "SHA"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"User": {
"description": "User represents a user",
@@ -9436,7 +9436,7 @@
"x-go-name": "UserName"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"UserHeatmapData": {
"description": "UserHeatmapData represents the data needed to create a heatmap",
@@ -9457,7 +9457,7 @@
"description": "VisibleType defines the visibility (Organization only)",
"type": "integer",
"format": "int64",
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
},
"WatchInfo": {
"description": "WatchInfo represents an API watch status of one repository",
@@ -9489,7 +9489,7 @@
"x-go-name": "URL"
}
},
- "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
}
},
"responses": {