Skip to content

Commit 497473d

Browse files
authored
doc(api-spec): update aigc-spritecontent-settings api (#2806)
* update aigc-spritecontent-settings api doc * apply ai suggestions * update * fix example
1 parent 372364c commit 497473d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/openapi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,23 @@ paths:
22552255
type: array
22562256
items:
22572257
$ref: "#/components/schemas/AIGCAnimationSettings"
2258+
animationBindings:
2259+
description: |
2260+
Recommended mapping from sprite state enum values to animation names.
2261+
Keys are sprite state enum values; values are animation name strings that should
2262+
match the 'name' field from the animations array, omitted if no animation is bound to that state.
2263+
type: object
2264+
additionalProperties: false
2265+
properties:
2266+
default:
2267+
type: string
2268+
step:
2269+
type: string
2270+
die:
2271+
type: string
2272+
example:
2273+
default: "idle"
2274+
step: "walk"
22582275
"403":
22592276
description: Insufficient permissions or quota.
22602277
headers:

0 commit comments

Comments
 (0)