From 21d4eee6182a67b82f2122ee99403a71d8e6c9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Kautler?= Date: Wed, 29 Jan 2025 16:11:52 +0100 Subject: [PATCH] fix: use anyOf instead of oneOf for better IDE compatibility (#255) --- github-actions-typing.schema.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/github-actions-typing.schema.json b/github-actions-typing.schema.json index c1b3f85..efc47ac 100644 --- a/github-actions-typing.schema.json +++ b/github-actions-typing.schema.json @@ -127,7 +127,7 @@ "allOf": [ { "$ref": "#/definitions/list_item_type" }, { - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/simple_primitive_property" }, { "$ref": "#/definitions/integer_with_named_values_property" }, { "$ref": "#/definitions/enum_property" } @@ -143,7 +143,7 @@ "allOf": [ { "$ref": "#/definitions/property_type" }, { - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/simple_primitive_property" }, { "$ref": "#/definitions/integer_with_named_values_property" }, { "$ref": "#/definitions/enum_property" }, @@ -165,13 +165,13 @@ "additionalProperties": false }, "properties_or_null": { - "oneOf": [ + "anyOf": [ { "type": "null" }, { "$ref": "#/definitions/properties" } ] }, "top_level_or_null": { - "oneOf": [ + "anyOf": [ { "type": "null" }, { "type": "object",