From 78a6b16fcb66dfe7bb7d9da3308739b284b7b35e Mon Sep 17 00:00:00 2001 From: box-apimgmt <142984025+box-apimgmt@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:19:48 +0100 Subject: [PATCH] fix: Fix type of additionalProperties in metadata query (#479) --- openapi.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/openapi.json b/openapi.json index b4a7b65a..8e561db1 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "30e62e9e7d" + "x-box-commit-hash": "87c431c362" }, "servers": [ { @@ -31557,9 +31557,15 @@ "amount": "100" }, "additionalProperties": { - "type": "string", - "description": "The value for the argument being used in the metadata search.\n\nThe type of this parameter must match the type of the corresponding\nmetadata template field.", - "example": "100", + "allOf": [ + {}, + { + "description": "The value for the argument being used in the metadata search.\n\nThe type of this parameter must match the type of the corresponding\nmetadata template field." + }, + { + "example": "100" + } + ], "x-box-example-key": "amount" } },