Skip to content

Commit a9873a4

Browse files
committed
propertyName must be required in the schema
1 parent a76933b commit a9873a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.1.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ names in "A" aren't considered when evaluating the referenced schema in "B".
27102710
##### Fixed Fields
27112711
Field Name | Type | Description
27122712
---|:---:|---
2713-
<a name="propertyName"></a>propertyName | `string` | **REQUIRED**. The name of the property in the payload that will hold the discriminator value.
2713+
<a name="propertyName"></a>propertyName | `string` | **REQUIRED**. The name of the property in the payload that will hold the discriminator value. This property MUST be required in the payload schema.
27142714
<a name="discriminatorMapping"></a> mapping | Map[`string`, `string`] | An object to hold mappings between payload values and schema names or references.
27152715

27162716
This object MAY be extended with [Specification Extensions](#specificationExtensions).

0 commit comments

Comments
 (0)