Skip to content

Commit cb0e8c6

Browse files
handrewsralfhandl
andauthored
Fix typo (review feedback)
Co-authored-by: Ralf Handl <[email protected]>
1 parent 8532ea6 commit cb0e8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.0.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2718,7 +2718,7 @@ Field Name | Type | Description
27182718
<a name="propertyName"></a>propertyName | `string` | **REQUIRED**. The name of the property in the payload that will hold the discriminator value.
27192719
<a name="discriminatorMapping"></a> mapping | Map[`string`, `string`] | An object to hold mappings between payload values and schema names or references.
27202720

2721-
The discriminator object is legal only when using one of the composite keywords `oneOf`, `anyOf`, `allOf`. Note that because the discrinating property's value is used as a component name and/or as the key in the `mapping` object, the behavior of any value that is not a string is undefined.
2721+
The discriminator object is legal only when using one of the composite keywords `oneOf`, `anyOf`, `allOf`. Note that because the discriminating property's value is used as a component name and/or as the key in the `mapping` object, the behavior of any value that is not a string is undefined.
27222722

27232723
In OAS 3.0, a response payload MAY be described to be exactly one of any number of types:
27242724

0 commit comments

Comments
 (0)