File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1047
1047
the entire resource beng described MAY be removed in the future.
1048
1048
</t >
1049
1049
<t >
1050
- When the "deprecated" keyword is used to describe an array, it can be used
1051
- in the tuple form to deprecate positional schemas. If "deprecated" is used
1052
- in the list form it can mark regular "items" as deprecated, whilst allowing
1053
- "additionalItems". Vice verse, setting "deprecated" to true inside
1054
- "additionalItems" would mark the additional items as deprecated, but not
1055
- effect list usage.
1050
+ When the "deprecated" keyword is used to describe an array, it's meaning will
1051
+ vary depending on how "items" is used. If "items" is a single schema, it will
1052
+ deprecate the contents of an array, but if "items" is an array of schemas it
1053
+ can be used to deprecate positional schemas.
1056
1054
</t >
1057
1055
<t >
1058
1056
Omitting this keyword has the same behavior as a value of false.
You can’t perform that action at this time.
0 commit comments