Skip to content

Commit 254c834

Browse files
committed
add ConnectorStrokeCap definition
An enumeration is defined in both the `connectorStartStrokeCap` and `connectorEndStrokeCap` property in `ConnectorNode`. Move the definition the schemas and share it.
1 parent 04e02c3 commit 254c834

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

openapi/openapi.yaml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4133,26 +4133,12 @@ components:
41334133
$ref: "#/components/schemas/ConnectorEndpoint"
41344134
description: The ending point of the connector.
41354135
connectorStartStrokeCap:
4136-
type: string
4136+
$ref: "#/components/schemas/ConnectorStrokeCap"
41374137
description: A string enum describing the end cap of the start of the connector.
4138-
enum:
4139-
- NONE
4140-
- LINE_ARROW
4141-
- TRIANGLE_ARROW
4142-
- DIAMOND_FILLED
4143-
- CIRCLE_FILLED
4144-
- TRIANGLE_FILLED
41454138
default: NONE
41464139
connectorEndStrokeCap:
4147-
type: string
4140+
$ref: "#/components/schemas/ConnectorStrokeCap"
41484141
description: A string enum describing the end cap of the end of the connector.
4149-
enum:
4150-
- NONE
4151-
- LINE_ARROW
4152-
- TRIANGLE_ARROW
4153-
- DIAMOND_FILLED
4154-
- CIRCLE_FILLED
4155-
- TRIANGLE_FILLED
41564142
default: NONE
41574143
connectorLineType:
41584144
$ref: "#/components/schemas/ConnectorLineType"
@@ -5601,6 +5587,16 @@ components:
56015587
- LEFT
56025588
- RIGHT
56035589
- CENTER
5590+
ConnectorStrokeCap:
5591+
type: string
5592+
description: Connector stroke cap.
5593+
enum:
5594+
- NONE
5595+
- LINE_ARROW
5596+
- TRIANGLE_ARROW
5597+
- DIAMOND_FILLED
5598+
- CIRCLE_FILLED
5599+
- TRIANGLE_FILLED
56045600
ConnectorLineType:
56055601
type: string
56065602
description: Connector line type.

0 commit comments

Comments
 (0)