Skip to content

Commit 71ec162

Browse files
committed
Fix missing multipart boundary
1 parent 7bd8a15 commit 71ec162

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/oas.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,13 @@ components:
424424
properties:
425425
bar:
426426
$ref: schemas/bar
427-
428427
--boundary-example
429428
Content-Type: application/schema+json; schema=https://spec.openapis.org/oas/3.2/schema-base/YYYY-MM-DD
430429
Content-Location: https://example.com/api/schemas/bar
431430
432431
{
433432
"type": "string"
434433
}
435-
436434
--boundary-example
437435
Content-Type: text/html
438436
Content-Location: https://example.com/api/docs.html
@@ -445,6 +443,7 @@ Content-Location: https://example.com/api/docs.html
445443
<p>Awesome documentation goes here</p>
446444
</body>
447445
</html>
446+
--boundary-example
448447
```
449448

450449
In this example, the URI for each part, which also serves as its base URI, comes from the part's `Content-Location` header as specified by RFC2557.

0 commit comments

Comments
 (0)