summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/client/filters/v1/filterpost.go3
-rw-r--r--internal/api/client/filters/v1/filterput.go3
-rw-r--r--internal/api/client/filters/v1/filtersget.go6
3 files changed, 8 insertions, 4 deletions
diff --git a/internal/api/client/filters/v1/filterpost.go b/internal/api/client/filters/v1/filterpost.go
index e150e8609..4c71eeddb 100644
--- a/internal/api/client/filters/v1/filterpost.go
+++ b/internal/api/client/filters/v1/filterpost.go
@@ -55,7 +55,7 @@ import (
// maxLength: 40
// type: string
// -
-// name: context
+// name: context[]
// in: formData
// required: true
// description: |-
@@ -72,6 +72,7 @@ import (
// items:
// type:
// string
+// collectionFormat: multi
// minItems: 1
// uniqueItems: true
// -
diff --git a/internal/api/client/filters/v1/filterput.go b/internal/api/client/filters/v1/filterput.go
index 1822efb6d..b7164936b 100644
--- a/internal/api/client/filters/v1/filterput.go
+++ b/internal/api/client/filters/v1/filterput.go
@@ -61,7 +61,7 @@ import (
// maxLength: 40
// type: string
// -
-// name: context
+// name: context[]
// in: formData
// required: true
// description: |-
@@ -78,6 +78,7 @@ import (
// items:
// type:
// string
+// collectionFormat: multi
// minItems: 1
// uniqueItems: true
// -
diff --git a/internal/api/client/filters/v1/filtersget.go b/internal/api/client/filters/v1/filtersget.go
index 84d638676..f1e07a2da 100644
--- a/internal/api/client/filters/v1/filtersget.go
+++ b/internal/api/client/filters/v1/filtersget.go
@@ -43,10 +43,12 @@ import (
//
// responses:
// '200':
-// name: filter
+// name: filters
// description: Requested filters.
// schema:
-// "$ref": "#/definitions/filterV1"
+// type: array
+// items:
+// "$ref": "#/definitions/filterV1"
// '400':
// description: bad request
// '401':