summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-09-09 00:52:49 -0700
committerLibravatar GitHub <noreply@github.com>2024-09-09 09:52:49 +0200
commit100d660797762ad00c07d757dac930a5f8b5f7ff (patch)
treec8a0d180b22a1a72676604b104f38ae31c58cde8 /internal/api
parent[chore]: Bump golang.org/x/image from 0.19.0 to 0.20.0 (#3285) (diff)
downloadgotosocial-100d660797762ad00c07d757dac930a5f8b5f7ff.tar.xz
[bugfix] Swagger: add missing filter_action param for v2 filter PUT (#3281)
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/client/filters/v2/filterput.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/api/client/filters/v2/filterput.go b/internal/api/client/filters/v2/filterput.go
index c86dc36dc..24f7e7567 100644
--- a/internal/api/client/filters/v2/filterput.go
+++ b/internal/api/client/filters/v2/filterput.go
@@ -121,6 +121,17 @@ import (
//
// Sample: 86400
// type: number
+// -
+// name: filter_action
+// in: formData
+// description: |-
+// The action to be taken when a status matches this filter.
+//
+// Sample: warn
+// type: string
+// enum:
+// - warn
+// - hide
//
// security:
// - OAuth2 Bearer: