Skip to content

Commit 99e6041

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 887d806 commit 99e6041

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

openapi/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4909,6 +4909,11 @@ components:
49094909
oneOf:
49104910
- $ref: "#/components/schemas/NormalBlurEffect"
49114911
- $ref: "#/components/schemas/ProgressiveBlurEffect"
4912+
discriminator:
4913+
propertyName: blurType
4914+
mapping:
4915+
NORMAL: "#/components/schemas/NormalBlurEffect"
4916+
PROGRESSIVE: "#/components/schemas/ProgressiveBlurEffect"
49124917
BaseBlurEffect:
49134918
type: object
49144919
description: Base properties shared by all blur effects

0 commit comments

Comments
 (0)