Skip to content

Commit eace593

Browse files
handrewsralfhandl
andauthored
Better wording
Co-authored-by: Ralf Handl <[email protected]>
1 parent 966c0c6 commit eace593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5251,7 +5251,7 @@ components:
52515251

52525252
In this example, the retrieval URIs are irrelevant because both documents define `$self`.
52535253

5254-
For the relative `$ref` in the first document, it is resolved against `$self` to produce `https://example.com/api/shared/foo#/components/requestBodies/Foo`.
5254+
The relative `$ref` in the first document is resolved against `$self` to produce `https://example.com/api/shared/foo#/components/requestBodies/Foo`.
52555255
The portion of that URI before the '#' matches the `$self` of the second document, so the reference target is resolved to `#/components/requestBodies/Foo` in that second document.
52565256

52575257
In that document, the `$ref` in the Request Body Object is resolved using that document's `$self` as the base URI, producing `https://example.com/api/schemas/foo`.

0 commit comments

Comments
 (0)