Skip to content

Commit 00dee5f

Browse files
author
LaunchDarklyCI
committed
Version 2.0.9 automatically generated from ld-openapi@d1a8629.
1 parent c1e3339 commit 00dee5f

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

openapi.yml

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ definitions:
874874
description: Tags assigned to this webhook.
875875
items:
876876
type: string
877-
example: '[]'
877+
example: []
878878
Webhooks:
879879
type: object
880880
properties:
@@ -925,18 +925,17 @@ definitions:
925925
description: An array of tags for this feature flag.
926926
items:
927927
type: string
928-
example: '[]'
928+
example: []
929929
variations:
930930
type: array
931931
description: The variations for this feature flag.
932932
items:
933933
$ref: '#/definitions/Variation'
934-
example: '[ { "value": "a" }, { "value": "b" } ]'
934+
example:
935+
- value: a
936+
- value: b
935937
customProperties:
936938
$ref: '#/definitions/CustomProperties'
937-
example: >-
938-
{ "bugs": { "name": "Issue tracker ids", "value": ["123", "456"] },
939-
"deprecated": { "name": "Deprecated Date", "value": [] } }
940939
_links:
941940
$ref: '#/definitions/Links'
942941
_maintainer:
@@ -1007,7 +1006,9 @@ definitions:
10071006
$ref: '#/definitions/Target'
10081007
goalIds:
10091008
type: array
1010-
example: '["d7239405bd89c930e885aa76", "405bc930e88d7239d895aa76"]'
1009+
example:
1010+
- d7239405bd89c930e885aa76
1011+
- 405bc930e88d7239d895aa76
10111012
items:
10121013
type: string
10131014
rules:
@@ -1172,6 +1173,9 @@ definitions:
11721173
type: array
11731174
items:
11741175
type: string
1176+
example:
1177+
- dev
1178+
- ops
11751179
description: An array of tags for this user segment.
11761180
creationDate:
11771181
type: number
@@ -1576,9 +1580,15 @@ definitions:
15761580
description: A mapping of keys to CustomProperty entries.
15771581
items:
15781582
$ref: '#/definitions/CustomProperty'
1579-
example: >-
1580-
{ "bugs": { "name": "Issue tracker ids", "value": ["123", "456"] },
1581-
"deprecated": { "name": "Deprecated Date", "value": [] } }
1583+
example:
1584+
bugs:
1585+
name: Issue tracker ids
1586+
value:
1587+
- '123'
1588+
- '456'
1589+
deprecated:
1590+
name: Deprecated Date
1591+
value: []
15821592
CustomProperty:
15831593
type: object
15841594
description: A name and value describing a custom property.
@@ -1596,7 +1606,9 @@ definitions:
15961606
description: Values for this property.
15971607
items:
15981608
type: string
1599-
example: '["Value 1", "Value 2"]'
1609+
example:
1610+
- Value 1
1611+
- Value 2
16001612
responses:
16011613
Standard201:
16021614
description: Resource created.
@@ -1714,7 +1726,7 @@ parameters:
17141726
type: array
17151727
items:
17161728
type: string
1717-
example: '[]'
1729+
example: []
17181730
description: Tags for the feature flag.
17191731
includeInSnippet:
17201732
type: boolean
@@ -1751,7 +1763,7 @@ parameters:
17511763
type: array
17521764
items:
17531765
type: string
1754-
example: '[]'
1766+
example: []
17551767
description: Tags for the user segment.
17561768
required:
17571769
- name

0 commit comments

Comments
 (0)