Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/oas.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Unless specified otherwise, relative references are resolved using the URLs defi
Assume a retrieval URI of `https://device1.example.com` for the following OpenAPI document:

```yaml
openapi: 3.2.0
openapi: 3.2.1
$self: https://apidescriptions.example.com/foo
info:
title: Example API
Expand Down Expand Up @@ -5274,7 +5274,7 @@ For OpenAPI documents, this source is the OpenAPI Object's `$self` field, while
Assume the retrieval URI of the following document is `file://home/someone/src/api/openapi.yaml`:

```yaml
openapi: 3.2.0
openapi: 3.2.1
$self: https://example.com/api/openapi
info:
title: Example API
Expand All @@ -5289,7 +5289,7 @@ paths:
Assume the retrieval URI for the following document is `https://git.example.com/shared/blob/main/shared/foo.yaml`:

```yaml
openapi: 3.2.0
openapi: 3.2.1
$self: https://example.com/api/shared/foo
info:
title: Shared components for all APIs
Expand Down Expand Up @@ -5341,7 +5341,7 @@ RFC2557 was written to allow sending hyperlinked sets of documents as email atta
Content-Type: application/openapi+yaml
Content-Location: https://example.com/api/openapi.yaml

openapi: 3.2.0
openapi: 3.2.1
info:
title: Example API
version: 1.0
Expand Down Expand Up @@ -5394,7 +5394,7 @@ If no base URI is provided from either of the previous sources, the next source
Assume this document was retrieved from `https://example.com/api/openapis.yaml`:

```yaml
openapi: 3.2.0
openapi: 3.2.1
info:
title: Example API
version: 1.0
Expand Down Expand Up @@ -5435,7 +5435,7 @@ Let's re-consider the first example in this appendix, but with relative URI refe
Assume that the following is retrieved from `https://staging.example.com/api/openapi`:

```yaml
openapi: 3.2.0
openapi: 3.2.1
$self: /api/openapi
info:
title: Example API
Expand All @@ -5450,7 +5450,7 @@ paths:
Assume the retrieval URI for the following document is `https://staging.example.com/api/shared/foo`:

```yaml
openapi: 3.2.0
openapi: 3.2.1
$self: /api/shared/foo
info:
title: Shared components for all APIs
Expand Down