Skip to content

Commit cea84c8

Browse files
committed
Resolution of relative URLs in CommonMark text (3.1.1)
Note that they are resolved in their rendered context.
1 parent 6f8a0d7 commit cea84c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

versions/3.1.1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ API endpoints are by definition accessed as locations, and are described by this
278278
Unless specified otherwise, all properties that are URLs MAY be relative references as defined by [RFC3986](https://tools.ietf.org/html/rfc3986#section-4.2).
279279
Unless specified otherwise, relative references are resolved using the URLs defined in the [`Server Object`](#serverObject) as a Base URL. Note that these themselves MAY be relative to the referring document.
280280

281+
Relative references in CommonMark hyperlinks are resolved in their rendered context, which might differ greatly from the context of the API description.
282+
281283
### Schema
282284

283285
In the following description, if a field is not explicitly **REQUIRED** or described with a MUST or SHALL, it can be considered OPTIONAL.

0 commit comments

Comments
 (0)