Skip to content

Commit cb7f32b

Browse files
committed
Fix the oneOf property by adding additional properties to false
Signed-off-by: Ricardo Zanini <zanini@redhat.com>
1 parent 2d52939 commit cb7f32b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

schema/functions.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
"^/": {
102102
"type": "object"
103103
}
104-
}
104+
},
105+
"additionalProperties": false
105106
},
106107
{
107108
"type": "object",
@@ -133,7 +134,8 @@
133134
"additionalProperties": { "type": "string" }
134135
}
135136
},
136-
"required": ["method", "uri"]
137+
"required": ["method", "uri"],
138+
"additionalProperties": false
137139
}
138140
]
139141
}

0 commit comments

Comments
 (0)