Skip to content

Commit bee82e0

Browse files
ralfhandlgithub-actions[bot]
authored andcommitted
Update ReSpec-rendered specification versions
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e0c7ca5 commit bee82e0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

oas/v3.0.4.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@
231231
"generatedSubtitle": "24 October 2024"
232232
}</script>
233233
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/base.css">
234-
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="https://www.w3.org/StyleSheets/TR/2021/dark.css"></head>
235-
<body class="h-entry"><div class="head">
234+
<link rel="stylesheet" media="" href="https://www.w3.org/StyleSheets/TR/2021/dark.css" disabled=""></head>
235+
<body class="h-entry toc-inline"><div class="head">
236236
<p class="logos"><a class="logo" href="https://openapis.org/"><img crossorigin="" alt="OpenAPI Initiative" height="48" src="https://raw.githubusercontent.com/OAI/OpenAPI-Style-Guide/master/graphics/bitmap/OpenAPI_Logo_Pantone.png">
237237
</a></p>
238238
<h1 id="title" class="title">OpenAPI Specification v3.0.4 </h1> <h2 id="subtitle" class="subtitle">Version 3.0.4</h2>

oas/v3.1.2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@
237237
"generatedSubtitle": "19 September 2025"
238238
}</script>
239239
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/base.css">
240-
<link rel="stylesheet" media="" href="https://www.w3.org/StyleSheets/TR/2021/dark.css" disabled=""></head>
241-
<body class="h-entry toc-inline"><div class="head">
240+
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="https://www.w3.org/StyleSheets/TR/2021/dark.css"></head>
241+
<body class="h-entry"><div class="head">
242242
<p class="logos"><a class="logo" href="https://openapis.org/"><img crossorigin="" alt="OpenAPI Initiative" height="48" src="https://raw.githubusercontent.com/OAI/OpenAPI-Style-Guide/master/graphics/bitmap/OpenAPI_Logo_Pantone.png">
243243
</a></p>
244244
<h1 id="title" class="title">OpenAPI Specification v3.1.2 </h1> <h2 id="subtitle" class="subtitle">Version 3.1.2</h2>

oas/v3.2.0.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ <h1 id="title" class="title">OpenAPI Specification v3.2.0 </h1> <h2 id="subtitle
404404
<tr>
405405
<td><span id="oas-self"></span>$self</td>
406406
<td style="text-align:center"><code>string</code></td>
407-
<td>This string <em class="rfc2119">MUST</em> be in the form of a URI reference as defined by [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc3986" title="Uniform Resource Identifier (URI): Generic Syntax">RFC3986</a></cite>] <a href="https://tools.ietf.org/html/rfc3986#section-4.1">Section 4.1</a>. The <code>$self</code> field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc3986" title="Uniform Resource Identifier (URI): Generic Syntax">RFC3986</a></cite>] <a href="https://tools.ietf.org/html/rfc3986#section-5.1.1">Section 5.1.1</a>. Implementations <em class="rfc2119">MUST</em> support identifying the targets of <a href="#relative-references-in-api-description-uris">API description URIs</a> using the URI defined by this field when it is present. See <a href="#establishing-the-base-uri">Establishing the Base URI</a> for the base URI behavior when <code>$self</code> is absent or relative, and see <a href="(#appendix-f-examples-of-base-uri-determination-and-reference-resolution)">Appendix F</a> for examples of using <code>$self</code> to resolve references.</td>
407+
<td>This string <em class="rfc2119">MUST</em> be in the form of a URI reference as defined by [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc3986" title="Uniform Resource Identifier (URI): Generic Syntax">RFC3986</a></cite>] <a href="https://tools.ietf.org/html/rfc3986#section-4.1">Section 4.1</a>. The <code>$self</code> field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc3986" title="Uniform Resource Identifier (URI): Generic Syntax">RFC3986</a></cite>] <a href="https://tools.ietf.org/html/rfc3986#section-5.1.1">Section 5.1.1</a>. Implementations <em class="rfc2119">MUST</em> support identifying the targets of <a href="#relative-references-in-api-description-uris">API description URIs</a> using the URI defined by this field when it is present. See <a href="#establishing-the-base-uri">Establishing the Base URI</a> for the base URI behavior when <code>$self</code> is absent or relative, and see <a href="#appendix-f-examples-of-base-uri-determination-and-reference-resolution">Appendix F</a> for examples of using <code>$self</code> to resolve references.</td>
408408
</tr>
409409
<tr>
410410
<td><span id="oas-info"></span>info</td>
@@ -1804,7 +1804,7 @@ <h1 id="title" class="title">OpenAPI Specification v3.2.0 </h1> <h2 id="subtitle
18041804
<span class="hljs-attr">serializedValue:</span> <span class="hljs-string">coordinates=%7B%22lat%22%3A10%2C%22long%22%3A60%7D</span>
18051805
</code></pre>
18061806
<p>A querystring parameter using regular form encoding, but managed with a Media Type Object.
1807-
This shows spaces being handled per the <code>application/x-www-form-urlencoded</code> media type rules (encode as <code>+</code>) rather than the RFC6570 process (encode as <code>%20</code>); see <a href="appendix-e-percent-encoding-and-form-media-types">Appendix E</a> for further guidance on this distinction.
1807+
This shows spaces being handled per the <code>application/x-www-form-urlencoded</code> media type rules (encode as <code>+</code>) rather than the RFC6570 process (encode as <code>%20</code>); see <a href="#appendix-e-percent-encoding-and-form-media-types">Appendix E</a> for further guidance on this distinction.
18081808
Examples are shown at both the media type and parameter level to emphasize that, since <code>application/x-www-form-urlencoded</code> is suitable for use in query strings by definition, no further encoding or escaping is applied to the serialized media type value:</p>
18091809
<pre class="nohighlight" tabindex="0"><code><span class="hljs-attr">in:</span> <span class="hljs-string">querystring</span>
18101810
<span class="hljs-attr">content:</span>
@@ -2333,7 +2333,7 @@ <h1 id="title" class="title">OpenAPI Specification v3.2.0 </h1> <h2 id="subtitle
23332333
</code></pre>
23342334
<p>To upload multiple files, a <code>multipart</code> media type <em class="rfc2119">MUST</em> be used as shown under <a href="#example-multipart-form-with-multiple-files">Example: Multipart Form with Multiple Files</a>.</p>
23352335
</section></section><section id="encoding-object"><div class="header-wrapper"><h3 id="x4-15-encoding-object"><bdi class="secno">4.15 </bdi>Encoding Object</h3><a class="self-link" href="#encoding-object" aria-label="Permalink for Section 4.15"></a></div>
2336-
<p>A single encoding definition applied to a single value, with the mapping of Encoding Objects to values determined by the <a href="@media-type-object">Media Type Object</a> as described under <a href="#encoding-usage-and-restrictions">Encoding Usage and Restrictions</a>.</p>
2336+
<p>A single encoding definition applied to a single value, with the mapping of Encoding Objects to values determined by the <a href="#media-type-object">Media Type Object</a> as described under <a href="#encoding-usage-and-restrictions">Encoding Usage and Restrictions</a>.</p>
23372337
<p>See <a href="#appendix-b-data-type-conversion">Appendix B</a> for a discussion of converting values of various types to string representations.</p>
23382338
<p>See <a href="#appendix-e-percent-encoding-and-form-media-types">Appendix E</a> for a detailed examination of percent-encoding concerns for form media types.</p>
23392339
<section id="fixed-fields-12"><div class="header-wrapper"><h4 id="x4-15-1-fixed-fields"><bdi class="secno">4.15.1 </bdi>Fixed Fields</h4><a class="self-link" href="#fixed-fields-12" aria-label="Permalink for Section 4.15.1"></a></div>
@@ -2643,7 +2643,7 @@ <h1 id="title" class="title">OpenAPI Specification v3.2.0 </h1> <h2 id="subtitle
26432643
</section><section id="example-ordered-multipart-with-required-header"><div class="header-wrapper"><h5 id="x4-15-4-7-example-ordered-multipart-with-required-header"><bdi class="secno">4.15.4.7 </bdi>Example: Ordered Multipart With Required Header</h5><a class="self-link" href="#example-ordered-multipart-with-required-header" aria-label="Permalink for Section 4.15.4.7"></a></div>
26442644
<p>As described in [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc2557" title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">RFC2557</a></cite>], a set of resources making up a web page can be sent in a <code>multipart/related</code> payload, preserving links from the <code>text/html</code> document to subsidiary resources such as scripts, style sheets, and images by defining a <code>Content-Location</code> header for each page.
26452645
The first part is used as the root resource (unless using <code>Content-ID</code>, which RFC2557 advises against and is forbidden in this example), so we use <code>prefixItems</code> and <code>prefixEncoding</code> to define that it must be an HTML resource, and then allow any of several different types of resources in any order to follow.</p>
2646-
<p>The <code>Content-Location</code> header is defined using <code>content: {text/plain: {...}}</code> to avoid percent-encoding its URI value; see <a href="appendix-d-serializing-headers-and-cookies">Appendix D</a> for further details.</p>
2646+
<p>The <code>Content-Location</code> header is defined using <code>content: {text/plain: {...}}</code> to avoid percent-encoding its URI value; see <a href="#appendix-d-serializing-headers-and-cookies">Appendix D</a> for further details.</p>
26472647
<pre class="nohighlight" tabindex="0"><code><span class="hljs-attr">components:</span>
26482648
<span class="hljs-attr">headers:</span>
26492649
<span class="hljs-attr">RFC2557NoContentId:</span>
@@ -2694,7 +2694,7 @@ <h1 id="title" class="title">OpenAPI Specification v3.2.0 </h1> <h2 id="subtitle
26942694
</code></pre>
26952695
</section><section id="example-streaming-byte-ranges"><div class="header-wrapper"><h5 id="x4-15-4-9-example-streaming-byte-ranges"><bdi class="secno">4.15.4.9 </bdi>Example: Streaming Byte Ranges</h5><a class="self-link" href="#example-streaming-byte-ranges" aria-label="Permalink for Section 4.15.4.9"></a></div>
26962696
<p>For <code>multipart/byteranges</code> [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc9110" title="HTTP Semantics">RFC9110</a></cite>] <a href="https://tools.ietf.org/html/rfc9110#section-14.6">Section 14.6</a>, a <code>Content-Range</code> header is required:</p>
2697-
<p>See <a href="appendix-d-serializing-headers-and-cookies">Appendix D</a> for an explanation of why <code>content: {text/plain: {...}}</code> is used to describe the header value.</p>
2697+
<p>See <a href="#appendix-d-serializing-headers-and-cookies">Appendix D</a> for an explanation of why <code>content: {text/plain: {...}}</code> is used to describe the header value.</p>
26982698
<pre class="nohighlight" tabindex="0"><code><span class="hljs-attr">multipart/byteranges:</span>
26992699
<span class="hljs-attr">itemSchema:</span>
27002700
<span class="hljs-string">$comment:</span> <span class="hljs-string">A</span> <span class="hljs-string">single</span> <span class="hljs-string">range</span> <span class="hljs-string">of</span> <span class="hljs-string">bytes</span> <span class="hljs-string">from</span> <span class="hljs-string">a</span> <span class="hljs-string">video</span>
@@ -3538,7 +3538,7 @@ <h1 id="title" class="title">OpenAPI Specification v3.2.0 </h1> <h2 id="subtitle
35383538
<p>As also noted in the RFC, <code>Set-Cookie</code> is an exception as it allows unquoted, non-escaped commas in its values, and can only use the one-value-per-line form.
35393539
For HTTP messages, this is purely a serialization concern, and no more of a problem than a message that uses the multi-line form of any other header.</p>
35403540
<p>However, because examples and values modeled with <code>content</code> do not incorporate the header name, for these fields <code>Set-Cookie</code> <em class="rfc2119">MUST</em> be handled by placing each value on a separate line, without the header name or the <code>:</code> delimiter.</p>
3541-
<p>Note also that any URI percent-encoding, base64 encoding, or other escaping <em class="rfc2119">MUST</em> be performed prior to supplying the data to OAS tooling; see <a href="appendix-d-serializing-headers-and-cookies">Appendix D</a> for details.</p>
3541+
<p>Note also that any URI percent-encoding, base64 encoding, or other escaping <em class="rfc2119">MUST</em> be performed prior to supplying the data to OAS tooling; see <a href="#appendix-d-serializing-headers-and-cookies">Appendix D</a> for details.</p>
35423542
<p>The following example shows two different ways to describe <code>Set-Cookie</code> headers that require cookies named <code>"lang"</code> and <code>"foo"</code>, as well as a <code>"urlSafeData"</code> cookie that is expected to be percent-encoded. The first uses <code>content</code> in order to show exactly how such examples are formatted, but also notes the limitations of schema constraints with multi-line text. The second shows the use of <code>style: "simple"</code>, which produces the same serialized example text (with each line corresponding to one <code>Set-Cookie:</code> line in the HTTP response), but allows schema constraints on each cookie; note that the percent-encoding is already applied in the <code>dataValue</code> field of the example:</p>
35433543
<pre class="nohighlight" tabindex="0"><code><span class="hljs-attr">components:</span>
35443544
<span class="hljs-attr">headers:</span>

0 commit comments

Comments
 (0)