Skip to content

Commit 9faf031

Browse files
Apply suggestions from PR review
Co-authored-by: Jeremy Fiel <[email protected]>
1 parent 6c91a0b commit 9faf031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3406,7 +3406,7 @@ However, the exact nature of such conversions are implementation-defined.
34063406

34073407
When the discriminating property is defined as optional, the `discriminator` field must include a `default` field that specifies a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload. This allows the schema to still be validated correctly even if the discriminator property is missing.
34083408

3409-
The primary use case for an optional discriminating property is to allow a schema to be extended with a discriminator without breaking existing clients that do not provide the discriminator property.
3409+
The primary use case for an optional discriminating property is to allow a schema to be extended with a discriminator without breaking existing clients that do not provide the discriminating property.
34103410

34113411
Typically the schema specified in the `default` field will specify that the discriminating property is not present, e.g.
34123412

0 commit comments

Comments
 (0)