aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/structs/issue.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/structs/issue.go b/modules/structs/issue.go
index 48e4e0e7e3..1d1de9ee5e 100644
--- a/modules/structs/issue.go
+++ b/modules/structs/issue.go
@@ -211,3 +211,11 @@ func (it IssueTemplate) Type() IssueTemplateType {
}
return ""
}
+
+// IssueMeta basic issue information
+// swagger:model
+type IssueMeta struct {
+ Index int64 `json:"index"`
+ Owner string `json:"owner"`
+ Name string `json:"repo"`
+}