File tree 2 files changed +50
-0
lines changed
2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 45
45
</ code > </ pre >
46
46
< pre class ="nohighlight " tabindex ="0 "> < code > https://foo.com/bar{< span class ="hljs-attr "> ?baz*</ span > ,< span class ="hljs-attr "> qux</ span > }
47
47
</ code > </ pre >
48
+ < pre class ="nohighlight " tabindex ="0 "> < code > < span class ="hljs-meta "> --boundary-example</ span >
49
+ < span class ="hljs-literal "> Content-Type:< span class ="hljs-attr "> application/openapi+yaml</ span > </ span >
50
+ < span class ="hljs-literal "> Content-Location:< span class ="hljs-attr "> https://inaccessible-domain.com/api/openapi.yaml</ span > </ span >
51
+
52
+ openapi: 3.2.0
53
+ info:
54
+ title: Example API
55
+ version: 1.0
56
+ externalDocs:
57
+ url: docs.html
58
+
59
+ < span class ="hljs-meta "> --boundary-example</ span >
60
+ < span class ="hljs-literal "> Content-Type:< span class ="hljs-attr "> text/html</ span > </ span >
61
+ < span class ="hljs-literal "> Content-Location:< span class ="hljs-attr "> https://example.com/api/docs.html</ span > </ span >
62
+
63
+ <html>
64
+ <head>
65
+ <title>API Documentation</title>
66
+ </head>
67
+ <body>
68
+ <p>Awesome documentation goes here</p>
69
+ </body>
70
+ </html>
71
+ </ code > </ pre >
48
72
< pre class ="nohighlight " tabindex ="0 "> < code > < span class ="hljs-attr "> event</ span > : addString
49
73
< span class ="hljs-attr "> data</ span > : This data is formatted
50
74
< span class ="hljs-attr "> data</ span > : across two lines
Original file line number Diff line number Diff line change @@ -62,6 +62,32 @@ https://foo.com/bar?baz=qux&fred=waldo#fragment
62
62
https://foo.com/bar{?baz*,qux}
63
63
```
64
64
65
+ ``` multipart
66
+ --boundary-example
67
+ Content-Type: application/openapi+yaml
68
+ Content-Location: https://inaccessible-domain.com/api/openapi.yaml
69
+
70
+ openapi: 3.2.0
71
+ info:
72
+ title: Example API
73
+ version: 1.0
74
+ externalDocs:
75
+ url: docs.html
76
+
77
+ --boundary-example
78
+ Content-Type: text/html
79
+ Content-Location: https://example.com/api/docs.html
80
+
81
+ <html>
82
+ <head>
83
+ <title>API Documentation</title>
84
+ </head>
85
+ <body>
86
+ <p>Awesome documentation goes here</p>
87
+ </body>
88
+ </html>
89
+ ```
90
+
65
91
``` eventstream
66
92
event: addString
67
93
data: This data is formatted
You can’t perform that action at this time.
0 commit comments