Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4681,6 +4681,16 @@ components:
- $ref: "#/components/schemas/GradientPaint"
- $ref: "#/components/schemas/ImagePaint"
- $ref: "#/components/schemas/PatternPaint"
discriminator:
propertyName: type
mapping:
SOLID: "#/components/schemas/SolidPaint"
GRADIENT_LINEAR: "#/components/schemas/GradientPaint"
GRADIENT_RADIAL: "#/components/schemas/GradientPaint"
GRADIENT_ANGULAR: "#/components/schemas/GradientPaint"
GRADIENT_DIAMOND: "#/components/schemas/GradientPaint"
IMAGE: "#/components/schemas/ImagePaint"
PATTERN: "#/components/schemas/PatternPaint"
LayoutConstraint:
type: object
description: Layout constraint relative to containing Frame
Expand Down