Skip to content

Commit ff7c484

Browse files
docs: fix linting issues
Signed-off-by: Jonathan Norris <jonathan@taplytics.com>
1 parent 630cd44 commit ff7c484

1 file changed

Lines changed: 21 additions & 11 deletions

File tree

‎service/openapi.yaml‎

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ paths:
5454
schema:
5555
type: string
5656
examples:
57-
- discount-banner
58-
- new-checkout-flow
59-
- experimental-feature
57+
discountBanner:
58+
value: discount-banner
59+
newCheckoutFlow:
60+
value: new-checkout-flow
61+
experimentalFeature:
62+
value: experimental-feature
6063
requestBody:
6164
required: true
6265
description: Evaluation request containing the context for flag evaluation
@@ -164,8 +167,10 @@ paths:
164167
- type: integer
165168
description: Number of seconds to wait before retrying
166169
examples:
167-
- "2024-02-07T12:00:00Z"
168-
- 60
170+
dateTime:
171+
value: "2024-02-07T12:00:00Z"
172+
seconds:
173+
value: 60
169174
"500":
170175
description: Internal Server Error. An unexpected error occurred on the server that prevented flag evaluation.
171176
content:
@@ -202,8 +207,10 @@ paths:
202207
type: string
203208
required: false
204209
examples:
205-
- '"abc123xyz"'
206-
- W/"abc123xyz"'
210+
strongEtag:
211+
value: '"abc123xyz"'
212+
weakEtag:
213+
value: 'W/"abc123xyz"'
207214
requestBody:
208215
required: true
209216
content:
@@ -231,8 +238,10 @@ paths:
231238
include this value in subsequent requests using the `If-None-Match` header for
232239
cache validation.
233240
examples:
234-
- '"abc123xyz"'
235-
- W/"abc123xyz"'
241+
strongEtag:
242+
value: '"abc123xyz"'
243+
weakEtag:
244+
value: 'W/"abc123xyz"'
236245
content:
237246
application/json:
238247
schema:
@@ -287,8 +296,9 @@ paths:
287296
schema:
288297
type: string
289298
format: date-time
290-
examples:
291-
- "2024-02-07T12:00:00Z"
299+
examples:
300+
dateTime:
301+
value: "2024-02-07T12:00:00Z"
292302
"500":
293303
description: Internal server error. An unexpected error occurred on the server that prevented flag evaluation.
294304
content:

0 commit comments

Comments
 (0)