Fix additionalProperties sometimes being additionalItems
This commit is contained in:
parent
93e4c1d4d3
commit
a5666e467f
1 changed files with 6 additions and 6 deletions
|
@ -129,7 +129,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["path"],
|
"required": ["path"],
|
||||||
"additionalItems": false,
|
"additionalProperties": false,
|
||||||
"examples": [{ "path": "../my_other_project" }]
|
"examples": [{ "path": "../my_other_project" }]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["git", "ref"],
|
"required": ["git", "ref"],
|
||||||
"additionalItems": false,
|
"additionalProperties": false,
|
||||||
"examples": [
|
"examples": [
|
||||||
{ "git": "git@github.com:my-project/my-library.git", "ref": "main" },
|
{ "git": "git@github.com:my-project/my-library.git", "ref": "main" },
|
||||||
{ "git": "git@github.com:gleam-lang/stdlib.git", "ref": "a8b3c5d82" }
|
{ "git": "git@github.com:gleam-lang/stdlib.git", "ref": "a8b3c5d82" }
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["path"],
|
"required": ["path"],
|
||||||
"additionalItems": false,
|
"additionalProperties": false,
|
||||||
"examples": [{ "path": "../my_other_project" }]
|
"examples": [{ "path": "../my_other_project" }]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -221,7 +221,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["git", "ref"],
|
"required": ["git", "ref"],
|
||||||
"additionalItems": false,
|
"additionalProperties": false,
|
||||||
"examples": [{ "git": "git@github.com:my-project/my-testing-library.git", "ref": "main" }]
|
"examples": [{ "git": "git@github.com:my-project/my-testing-library.git", "ref": "main" }]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -311,7 +311,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["type", "host", "user", "repo"],
|
"required": ["type", "host", "user", "repo"],
|
||||||
"additionalItems": false,
|
"additionalProperties": false,
|
||||||
"examples": [
|
"examples": [
|
||||||
{ "type": "forgejo", "host": "example.com", "user": "example", "repo": "my_project" },
|
{ "type": "forgejo", "host": "example.com", "user": "example", "repo": "my_project" },
|
||||||
{ "type": "gitea", "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"],
|
"required": ["type", "url"],
|
||||||
"additionalItems": false,
|
"additionalProperties": false,
|
||||||
"examples": [{ "type": "custom", "url": "https://example.com/my_project" }]
|
"examples": [{ "type": "custom", "url": "https://example.com/my_project" }]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue