Skip to content

Commit bc59244

Browse files
committed
clarification about YAML
1 parent 99706c1 commit bc59244

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

versions/3.0.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ The HTTP Status Codes are used to indicate the status of the executed operation.
5151
### Format
5252

5353
The files describing the RESTful API in accordance with the OpenAPI Specification are represented as JSON objects and conform to the JSON standards. YAML, being a superset of JSON, can be used as well to
54-
represent a OAS (OpenAPI Specification) file.
54+
represent a OAS (OpenAPI Specification) file. For YAML, version `1.1` is supported for OAS documents.
55+
56+
As YAML has a superset of features, the following YAML features are NOT supported by the OAS:
57+
58+
* YAML Merge. Consider using JSON Pointers instead
59+
* Numeric keys. All numeric keys should be quoted
5560

5661
For example, if a field is said to have an array value, the JSON array representation will be used:
5762

0 commit comments

Comments
 (0)