From b534a5164fe13dc41aa2996239c2dff4f109dee0 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 4 Jun 2020 11:16:53 +0200 Subject: [API] Expose allowed Reactions (#11735) * [API] Expose allowed Reactions * dont be in soutch a rush * add TEST * use ElementsMatch Co-authored-by: Lauris BH --- routers/api/v1/swagger/misc.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'routers/api/v1/swagger/misc.go') diff --git a/routers/api/v1/swagger/misc.go b/routers/api/v1/swagger/misc.go index 9fd0ab5b00..1d3c257efa 100644 --- a/routers/api/v1/swagger/misc.go +++ b/routers/api/v1/swagger/misc.go @@ -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"` +} -- cgit v1.2.3