From 4c23f1d20c688d775e3617dce17ea53127e11132 Mon Sep 17 00:00:00 2001 From: Don Olmstead Date: Mon, 29 Sep 2025 17:34:13 -0700 Subject: [PATCH] add ConnectorStrokeCap definition An enumeration is defined in both the `connectorStartStrokeCap` and `connectorEndStrokeCap` property in `ConnectorNode`. Move the definition the schemas and share it. --- openapi/openapi.yaml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 4a3ad40..9fd4fd7 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -4148,26 +4148,12 @@ components: $ref: "#/components/schemas/ConnectorEndpoint" description: The ending point of the connector. connectorStartStrokeCap: - type: string + $ref: "#/components/schemas/ConnectorStrokeCap" description: A string enum describing the end cap of the start of the connector. - enum: - - NONE - - LINE_ARROW - - TRIANGLE_ARROW - - DIAMOND_FILLED - - CIRCLE_FILLED - - TRIANGLE_FILLED default: NONE connectorEndStrokeCap: - type: string + $ref: "#/components/schemas/ConnectorStrokeCap" description: A string enum describing the end cap of the end of the connector. - enum: - - NONE - - LINE_ARROW - - TRIANGLE_ARROW - - DIAMOND_FILLED - - CIRCLE_FILLED - - TRIANGLE_FILLED default: NONE connectorLineType: $ref: "#/components/schemas/ConnectorLineType" @@ -5616,6 +5602,16 @@ components: - LEFT - RIGHT - CENTER + ConnectorStrokeCap: + type: string + description: Connector stroke cap. + enum: + - NONE + - LINE_ARROW + - TRIANGLE_ARROW + - DIAMOND_FILLED + - CIRCLE_FILLED + - TRIANGLE_FILLED ConnectorLineType: type: string description: Connector line type.