Skip to content

Commit

Permalink
fix: use anyOf instead of oneOf for better IDE compatibility (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire authored Jan 29, 2025
1 parent fe2b20a commit 21d4eee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions github-actions-typing.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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" },
Expand All @@ -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",
Expand Down

0 comments on commit 21d4eee

Please sign in to comment.