Skip to content

Commit 37b4274

Browse files
committed
Media Type Example Server-Sent Event Streams: data with format: int64 should be integer
1 parent d28d9f3 commit 37b4274

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/oas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ data: across two lines
16321632
retry: 5
16331633
16341634
event: addInt64
1635-
data: 1234.5678
1635+
data: 1234
16361636
unknownField: this is ignored
16371637
16381638
: This is a comment
@@ -1644,7 +1644,7 @@ To more clearly see how this stream is handled, the following is the equivalent
16441644

16451645
```jsonl
16461646
{"event": "addString", "data": "This data is formatted\nacross two lines", "retry": 5}
1647-
{"event": "addInt64", "data": "1234.5678"}
1647+
{"event": "addInt64", "data": "1234"}
16481648
{"event": "addJSON", "data": "{\"foo\": 42}"}
16491649
```
16501650

0 commit comments

Comments
 (0)