From bd52c07a6e8b3ec4982ab86263bbda9b940b914f Mon Sep 17 00:00:00 2001 From: Helen Kosova Date: Fri, 21 Feb 2020 18:38:08 +0300 Subject: [PATCH] Fix table cell formatting containing `nullable` description --- versions/3.1.0.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/versions/3.1.0.md b/versions/3.1.0.md index c84dab9e7a..db2e9b499a 100644 --- a/versions/3.1.0.md +++ b/versions/3.1.0.md @@ -2312,9 +2312,7 @@ In addition to the JSON Schema properties defined in the vocabularies defined in Field Name | Type | Description ---|:---:|--- -nullable | `boolean` | A `true` value adds "null" to the allowed types specified by the `type` keyword, only if `type` is explicitly defined within the same Schema Object. Other Schema Object constraints retain their defined behavior, and therefore may disallow the use of `null` as a value. A `false` value leaves the specified or default `type` unmodified. The default value is `false`. - -

**Deprecated:** The `type` property now allows "null" as a type, alone or within a type array. This is the standard way to allow null values in JSON Schema. Use of `nullable` is discouraged, and later versions of this specification may remove it. +nullable | `boolean` | A `true` value adds "null" to the allowed types specified by the `type` keyword, only if `type` is explicitly defined within the same Schema Object. Other Schema Object constraints retain their defined behavior, and therefore may disallow the use of `null` as a value. A `false` value leaves the specified or default `type` unmodified. The default value is `false`.

**Deprecated:** The `type` property now allows "null" as a type, alone or within a type array. This is the standard way to allow null values in JSON Schema. Use of `nullable` is discouraged, and later versions of this specification may remove it. discriminator | [Discriminator Object](#discriminatorObject) | Adds support for polymorphism. The discriminator is an object name that is used to differentiate between other schemas which may satisfy the payload description. See [Composition and Inheritance](#schemaComposition) for more details. xml | [XML Object](#xmlObject) | This MAY be used only on properties schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property. externalDocs | [External Documentation Object](#externalDocumentationObject) | Additional external documentation for this schema.