Skip to content

Commit 7d7efca

Browse files
authored
Merge pull request #627 from handrews/rollback-pnames
Undo incorrect "fix" of propertyNames
2 parents c46c7da + af3cf2d commit 7d7efca

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

hyper-schema.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@
5151
"oneOf": { "$ref": "#/$defs/schemaArray" },
5252
"not": { "$ref": "#" },
5353
"contains": { "$ref": "#" },
54-
"propertyNames": {
55-
"type": "object",
56-
"additionalProperties": { "$ref": "#" }
57-
},
54+
"propertyNames": { "$ref": "#" },
5855
"base": {
5956
"type": "string",
6057
"format": "uri-template"

schema.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,7 @@
140140
]
141141
}
142142
},
143-
"propertyNames": {
144-
"type": "object",
145-
"additionalProperties": { "$ref": "#" }
146-
},
143+
"propertyNames": { "$ref": "#" },
147144
"const": true,
148145
"enum": {
149146
"type": "array",

0 commit comments

Comments
 (0)