Skip to content

Commit 2b4c061

Browse files
committed
Remove counter-intuitive section name hack.
1 parent f80a4cd commit 2b4c061

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/oas.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,9 +1396,7 @@ The `maxLength` keyword MAY be used to set an expected upper bound on the length
13961396
For unencoded binary data, the length is the number of octets.
13971397
For this use case, `maxLength` MAY be implemented outside of regular JSON Schema evaluation as JSON Schema does not directly apply to binary data, and an encoded binary stream may be impractical to store in memory in its entirety.
13981398

1399-
<a name="considerations-event-stream"></a><!-- custom anchor needed because markdownlint and ReSpec treat a slash differently in auto-generated anchors -->
1400-
1401-
#### Special Considerations for `text/event-stream` Content
1399+
#### Special Considerations for Server-Sent Events
14021400

14031401
For `text/event-stream`, implementations MUST work with event data after it has been parsed according to the [`text/event-stream` specification](https://html.spec.whatwg.org/multipage/server-sent-events.html#parsing-an-event-stream), including all guidance on ignoring certain fields (including comments) and/or values, and on combining values split across multiple lines.
14041402

@@ -1641,7 +1639,7 @@ Our `application/json-seq` example has to be an external document because of the
16411639

16421640
##### Server-Sent Event Streams
16431641

1644-
For this example, assume that the generic event schema provided in the [Special Considerations for `text/event-stream` Content](#considerations-event-stream) section is available at `#/components/schemas/Event`:
1642+
For this example, assume that the generic event schema provided in the [Special Considerations for `text/event-stream` Content](#special-considerations-for-server-sent-events) section is available at `#/components/schemas/Event`:
16451643

16461644
```yaml
16471645
description: A request body to add a stream of typed data.

0 commit comments

Comments
 (0)