-
Notifications
You must be signed in to change notification settings - Fork 84
Allow empty "required" array #232
Comments
+1 |
I agree that this is an odd requirement. But also agree that V4 is best On April 6, 2016 13:01:57 Ivan Goncharov notifications@github.com wrote:
|
Absolutely. V4 is published and should be immutable; I'm proposing this change for the next version. |
+1 |
👍 for doing this in V5. |
+1 and agree it should be for V5 |
-1 |
This repository is deprecated. Current spec work is going on at 2016-09-30 9:50 GMT+02:00 Hernando Saenz notifications@github.com:
Bence Erősme@github https://github.com/erosb |
@gibson042 since you've moved the conversation, could you please close this issue? There's no one left here with the necessary privileges to close issues opened by other people. |
Draft v4 specifies that a
required
array "MUST have at least one element", which makes it impossible to explicitly indicate that all properties are optional (and therefore also impossible to distinguish intentional optionality from accidental omission ofrequired
). Empty values ("required": []
) should be permitted.The text was updated successfully, but these errors were encountered: