forked from forgejo/forgejo
[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:
parent
2842f6cf42
commit
b534a5164f
5 changed files with 75 additions and 0 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue