From 07ef4f5d9e3e36e97bad5153233ed6119c48086c Mon Sep 17 00:00:00 2001 From: Don Olmstead Date: Thu, 11 Sep 2025 14:24:31 -0700 Subject: [PATCH] reuse VariableResolvedDataType definition The `VariableResolvedDataType` is repeated in property definitions of `resolvedType`. Share the implementation. --- openapi/openapi.yaml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index bb0b0b2..989fd69 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -7705,13 +7705,7 @@ components: type: string description: The id of the variable collection that contains this variable. resolvedType: - type: string - description: The resolved type of the variable. - enum: - - BOOLEAN - - FLOAT - - STRING - - COLOR + $ref: "#/components/schemas/VariableResolvedDataType" valuesByMode: type: object description: The values for each mode of this variable. @@ -8003,13 +7997,7 @@ components: description: The variable collection that will contain the variable. You can use the temporary id of a variable collection. resolvedType: - type: string - description: The resolved type of the variable. - enum: - - BOOLEAN - - FLOAT - - STRING - - COLOR + $ref: "#/components/schemas/VariableResolvedDataType" description: type: string description: The description of this variable.