Skip to content

Commit

Permalink
fix(tests): simply ignore extends for draft3
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Apr 14, 2020
1 parent 11dc023 commit 17c33bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ func (s *Schema) UnmarshalJSON(data []byte) error {
} else {
switch prop {
// skip any already-parsed props
case "$schema", "$id", "title", "description", "default", "examples", "readOnly", "writeOnly", "$comment", "$ref", "$recursiveRef", "definitions", "$defs", "format":
case "$schema", "$id", "title", "description", "default", "examples", "extends", "readOnly", "writeOnly", "$comment", "$ref", "$recursiveRef", "definitions", "$defs", "format":
continue
default:
// assume non-specified props are "extra definitions"
Expand Down

0 comments on commit 17c33bf

Please sign in to comment.