Skip to content

Commit dd5e194

Browse files
committed
add DevModeStatus definition
An enumeration for developer mode status is described in multiple places. Move the definition to the schemas and share it.
1 parent 887d806 commit dd5e194

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

openapi/openapi.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,11 +3497,7 @@ components:
34973497
status applied to it.
34983498
properties:
34993499
type:
3500-
type: string
3501-
enum:
3502-
- NONE
3503-
- READY_FOR_DEV
3504-
- COMPLETED
3500+
$ref: "#/components/schemas/DevModeStatus"
35053501
description:
35063502
type: string
35073503
description: An optional field where the designer can add more information about
@@ -4216,6 +4212,12 @@ components:
42164212
- $ref: "#/components/schemas/IsLayerTrait"
42174213
- $ref: "#/components/schemas/HasExportSettingsTrait"
42184214
- $ref: "#/components/schemas/HasChildrenTrait"
4215+
DevModeStatus:
4216+
type: string
4217+
enum:
4218+
- NONE
4219+
- READY_FOR_DEV
4220+
- COMPLETED
42194221
RGB:
42204222
type: object
42214223
description: An RGB color
@@ -7172,7 +7174,7 @@ components:
71727174
description: An array of related links that have been applied to the layer in
71737175
the file
71747176
status:
7175-
type: string
7177+
$ref: "#/components/schemas/DevModeStatus"
71767178
description: The Dev Mode status. Either "NONE", "READY_FOR_DEV", or "COMPLETED"
71777179
triggered_by:
71787180
$ref: "#/components/schemas/User"

0 commit comments

Comments
 (0)