Reputation: 27
I have an answer with 40 fields. I need to specify that all fields are required.
Option to list all fields
Maybe there is an option to indicate that ALL fields of the answer are required. For example allOf ?
Upvotes: 2
Views: 1795
Reputation: 98102
required: [field1, field2, ..., field40] is the only way. There are no shortcuts.
required: [field1, field2, ..., field40]
Upvotes: 3