Fix additionalProperties sometimes being additionalItems

This commit is contained in:
Lily Rose 2025-08-07 21:01:44 +10:00
parent 93e4c1d4d3
commit a5666e467f

View file

@ -129,7 +129,7 @@
}
},
"required": ["path"],
"additionalItems": false,
"additionalProperties": false,
"examples": [{ "path": "../my_other_project" }]
},
{
@ -151,7 +151,7 @@
}
},
"required": ["git", "ref"],
"additionalItems": false,
"additionalProperties": false,
"examples": [
{ "git": "git@github.com:my-project/my-library.git", "ref": "main" },
{ "git": "git@github.com:gleam-lang/stdlib.git", "ref": "a8b3c5d82" }
@ -202,7 +202,7 @@
}
},
"required": ["path"],
"additionalItems": false,
"additionalProperties": false,
"examples": [{ "path": "../my_other_project" }]
},
{
@ -221,7 +221,7 @@
}
},
"required": ["git", "ref"],
"additionalItems": false,
"additionalProperties": false,
"examples": [{ "git": "git@github.com:my-project/my-testing-library.git", "ref": "main" }]
}
],
@ -311,7 +311,7 @@
}
},
"required": ["type", "host", "user", "repo"],
"additionalItems": false,
"additionalProperties": false,
"examples": [
{ "type": "forgejo", "host": "example.com", "user": "example", "repo": "my_project" },
{ "type": "gitea", "host": "example.com", "user": "example", "repo": "my_project" }
@ -338,7 +338,7 @@
}
},
"required": ["type", "url"],
"additionalItems": false,
"additionalProperties": false,
"examples": [{ "type": "custom", "url": "https://example.com/my_project" }]
}
],