Skip to content

Commit 643d920

Browse files
authored
Merge pull request #196 from splitio/fix-open-api-spec
Fixing OpenAPI spec for /manager/splits
2 parents 1cd9b24 + 5788b13 commit 643d920

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.x.x (coming soon)
2+
- Fixed OpenAPI spec fot /manager/splits
3+
14
2.7.0 (Dec 20, 2024)
25
- Added support to arm64 images.
36
- Updated base image to node:20.13.1-alpine3.20

openapi/openapi.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,12 @@ components:
169169
on: "{\"color\": \"blue\"}"
170170
off: "{\"color\": \"black\"}"
171171
Splits:
172-
type: array
173-
items:
174-
$ref: '#/components/schemas/Split'
172+
type: object
173+
properties:
174+
splits:
175+
type: array
176+
items:
177+
$ref: '#/components/schemas/Split'
175178

176179
security:
177180
- Authorization: []

0 commit comments

Comments
 (0)