From 254c834553477fc552fe7d3476d6bef542945ac1 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 8e49ea6..879c1ff 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -4133,26 +4133,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" @@ -5601,6 +5587,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.