Skip to content

Commit

Permalink
Fix additionalProperties on $ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Jul 15, 2024
1 parent f10e7c3 commit c7c859c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions schemas/json/wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,21 @@
"patternProperties": {
"[a-zA-Z]": {
"type": "object",
"$ref": "#/definitions/wpEnvProperties",
"additionalProperties": false
"allOf": [
{ "$ref": "#/definitions/wpEnvProperties" },
{
"properties": {
"core": {},
"phpVersion": {},
"plugins": {},
"themes": {},
"port": {},
"config": {},
"mappings": {}
},
"additionalProperties": false
}
]
}
}
}
Expand Down

0 comments on commit c7c859c

Please sign in to comment.