summaryrefslogtreecommitdiffstats
path: root/modules/context/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/api.go')
-rw-r--r--modules/context/api.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/context/api.go b/modules/context/api.go
index c1de37dd21..fd9983c52b 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -39,6 +39,13 @@ type APIValidationError struct {
URL string `json:"url"`
}
+// APIInvalidTopicsError is error format response to invalid topics
+// swagger:response invalidTopicsError
+type APIInvalidTopicsError struct {
+ Topics []string `json:"invalidTopics"`
+ Message string `json:"message"`
+}
+
//APIEmpty is an empty response
// swagger:response empty
type APIEmpty struct{}