@@ -1746,8 +1746,9 @@ requestBody:
1746
1746
name:
1747
1747
type: string
1748
1748
icon:
1749
- # The default with "contentEncoding" is application/octet-stream,
1750
- # so we need to set image media type(s) in the Encoding Object.
1749
+ # The default content type with "contentEncoding" present
1750
+ # is application/octet-stream, so we need to set the correct
1751
+ # image media type(s) in the Encoding Object.
1751
1752
type: string
1752
1753
contentEncoding: base64url
1753
1754
encoding:
@@ -1800,16 +1801,19 @@ requestBody:
1800
1801
schema:
1801
1802
type: object
1802
1803
properties:
1803
- # default for a string without ` contentEncoding` is `text/plain`
1804
+ # default content type for a string without ` contentEncoding`
1805
+ # is `text/plain`
1804
1806
id :
1805
1807
type : string
1806
1808
format : uuid
1807
1809
1808
- # default for a schema without `type` is `application/octet-stream`
1810
+ # default content type for a schema without `type`
1811
+ # is `application/octet-stream`
1809
1812
profileImage : {}
1810
1813
1811
- # default for arrays is based on the type in the `items`
1812
- # subschema, which is an object, so `application/json`
1814
+ # default content type for arrays is based on the type
1815
+ # in the `items` subschema, which is an object here,
1816
+ # so the default content type for each item is `application/json`
1813
1817
addresses :
1814
1818
type : array
1815
1819
items :
@@ -1833,7 +1837,7 @@ requestBody:
1833
1837
type : string
1834
1838
format : uuid
1835
1839
1836
- # Encoding Object overrides the default `application/json`
1840
+ # Encoding Object overrides the default `application/json` content type
1837
1841
# for each item in the array with `application/xml; charset=utf-8`
1838
1842
addresses :
1839
1843
description : addresses in XML format
0 commit comments