Skip to content

Commit 072c562

Browse files
committed
Fix event-stream event schema
It was wrapped in an array left over from the previous attempt at writing up this feature.
1 parent 5ab5b05 commit 072c562

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/oas.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,21 +1690,19 @@ Note that `contentSchema` is [not automatically validated by default](https://ww
16901690
The following Schema Object is a generic schema for the `text/event-stream` media type as documented by the HTML specification as of the time of this writing:
16911691

16921692
```YAML
1693-
type: array
1694-
items:
1695-
type: object
1696-
required:
1697-
- data
1698-
properties:
1699-
data:
1700-
type: string
1701-
event:
1702-
type: string
1703-
id:
1704-
type: string
1705-
retry:
1706-
type: integer
1707-
minimum: 0
1693+
type: object
1694+
required:
1695+
- data
1696+
properties:
1697+
data:
1698+
type: string
1699+
event:
1700+
type: string
1701+
id:
1702+
type: string
1703+
retry:
1704+
type: integer
1705+
minimum: 0
17081706
```
17091707

17101708
##### Encoding Usage and Restrictions

0 commit comments

Comments
 (0)