Skip to content

Commit fdace9f

Browse files
committed
Fix two capital-O Objects
These got lower-cased because I did not explain in the text that the capital is significant. The previous commit adds the explanation (ported from 3.0.4) and this fixes the 3.1.1-specific occurrences.
1 parent 2f547da commit fdace9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versions/3.1.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ Implementations MAY support complete-document parsing in any of the following wa
139139
* Detecting OpenAPI or JSON Schema documents using media types
140140
* Detecting OpenAPI documents through the root `openapi` field
141141
* Detecting JSON Schema documents through detecting keywords or otherwise successfully parsing the document in accordance with the JSON Schema specification
142-
* Detecting a document containing a referenceable object at its root based on the expected type of the reference
143-
* Allowing users to configure the type of documents that might be loaded due to a reference to a non-root object
142+
* Detecting a document containing a referenceable Object at its root based on the expected type of the reference
143+
* Allowing users to configure the type of documents that might be loaded due to a reference to a non-root Object
144144

145145
Implementations that parse referenced fragments of OpenAPI content without regard for the content of the rest of the containing document will miss keywords that change the meaning and behavior of the reference target.
146146
In particular, failing to take into account keywords that change the base URI introduces security risks by causing references to resolve to unintended URIs, with unpredictable results.

0 commit comments

Comments
 (0)