File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1660,15 +1660,20 @@ Field Name | Type | Description
1660
1660
1661
1661
This object MAY be extended with [Specification Extensions](#specificationExtensions).
1662
1662
1663
- The default values for `contentType` are as follows :
1663
+ The default values for `contentType` are as follows, where an _n/a_ in the `format` column means that the presence or value of `format` is irrelevant :
1664
1664
1665
- Property Type | Property Format | Default `contentType`
1665
+ Property `type` | Property `format` | Default `contentType`
1666
1666
------------- | --------------- | ---------------------
1667
1667
` string` | `binary` | `application/octet-stream`
1668
- ` string` , `number`, `integer`, or `boolean` | _n/a_ | `text/plain`
1668
+ ` string` | _none, or any except `binary`_ | `text/plain`
1669
+ ` number` , `integer`, or `boolean` | _n/a_ | `text/plain`
1669
1670
` object` | _n/a_ | `application/json`
1670
1671
` array` | _n/a_ | according to the `type` and `format` of the `items` schema
1671
1672
1673
+ Determining how to handle `null` values if `nullable : true` is present depends on how `null` values are being serialized.
1674
+ If `null` values are entirely omitted, then the `contentType` is irrelevant.
1675
+ See [Appendix B](#dataTypeConversion) for a discussion of data type conversion options.
1676
+
1672
1677
# #### Fixed Fields for RFC6570-style Serialization
1673
1678
1674
1679
Field Name | Type | Description
You can’t perform that action at this time.
0 commit comments