Skip to content

Commit 4225262

Browse files
committed
Fix missing multipart boundary
1 parent cf9ec25 commit 4225262

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/oas.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -390,15 +390,13 @@ components:
390390
properties:
391391
bar:
392392
$ref: schemas/bar
393-
394393
--boundary-example
395394
Content-Type: application/schema+json; schema=https://spec.openapis.org/oas/3.2/schema-base/YYYY-MM-DD
396395
Content-Location: https://example.com/api/schemas/bar
397396
398397
{
399398
"type": "string"
400399
}
401-
402400
--boundary-example
403401
Content-Type: text/html
404402
Content-Location: https://example.com/api/docs.html
@@ -411,6 +409,7 @@ Content-Location: https://example.com/api/docs.html
411409
<p>Awesome documentation goes here</p>
412410
</body>
413411
</html>
412+
--boundary-example
414413
```
415414

416415
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)