From 87eed85484880084db94153a138e4e59d5f51973 Mon Sep 17 00:00:00 2001 From: cookeac Date: Thu, 18 Apr 2024 11:06:32 +1200 Subject: [PATCH] Remove enum from @type @type is already deprecated, but the use of "enum": ["Link"] to provide a constant value causes errors in code generation under OpenAPI 3.1. Fixes #451 --- types/icarResourceReferenceType.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/icarResourceReferenceType.json b/types/icarResourceReferenceType.json index 09ed987..6634b26 100644 --- a/types/icarResourceReferenceType.json +++ b/types/icarResourceReferenceType.json @@ -15,8 +15,7 @@ }, "@type": { "type": "string", - "description": "Deprecated - use reltype. Specifies whether this is a single resource Link or a Collection.", - "enum": ["Link"] + "description": "Deprecated - use reltype. Specifies whether this is a single resource Link or a Collection." }, "identifier": { "$ref": "../types/icarIdentifierType.json",