[API] Expose allowed Reactions (#11735)

* [API] Expose allowed Reactions

* dont be in soutch a rush

* add TEST

* use ElementsMatch

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
6543andLauris BH authored and GitHub committed 2020-06-04 12:16:53 +03:00
1 parent 2842f6cf42
commit b534a5164f
5 files changed
+75

No files matched your search

+7
View File
@@ -14,3 +14,10 @@ type swaggerResponseServerVersion struct {
// in:body
Body api.ServerVersion `json:"body"`
}
// StringSlice
// swagger:response StringSlice
type swaggerResponseStringSlice struct {
// in:body
Body []string `json:"body"`
}