Skip to content

Commit 9805ae2

Browse files
committed
add discriminator for BlurEffect
The type of `BlurEffect` is announced in the `blurType` property. Provide a mapping to the types based on `blurType`'s value.
1 parent 04e02c3 commit 9805ae2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

openapi/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4894,6 +4894,11 @@ components:
48944894
oneOf:
48954895
- $ref: "#/components/schemas/NormalBlurEffect"
48964896
- $ref: "#/components/schemas/ProgressiveBlurEffect"
4897+
discriminator:
4898+
propertyName: blurType
4899+
mapping:
4900+
NORMAL: "#/components/schemas/NormalBlurEffect"
4901+
PROGRESSIVE: "#/components/schemas/ProgressiveBlurEffect"
48974902
BaseBlurEffect:
48984903
type: object
48994904
description: Base properties shared by all blur effects

0 commit comments

Comments
 (0)