Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Add deprecated keyword for 2019-09
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesrosiers committed Jul 29, 2021
1 parent 232e94d commit 1acbf8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/reference/generic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ for all JSON types.
single: examples
single: readOnly
single: writeOnly
single: deprecated

.. _annotation:

Expand Down Expand Up @@ -57,6 +58,10 @@ remain hidden. In could be used to indicate you can set a value with a
``PUT`` request, but it would not be included when retrieving that
record with a ``GET`` request.

|draft2019-09| The ``deprecated`` keyword is a boolean that indicates
that the instance value the keyword applies to should not be used and
may be removed in the future.

.. schema_example::

{
Expand All @@ -67,6 +72,7 @@ record with a ``GET`` request.
"Anything",
4035
],
"deprecated": true,
"readOnly": true,
"writeOnly": false
}
Expand Down

0 comments on commit 1acbf8c

Please sign in to comment.