1

I have an answer with 40 fields. I need to specify that all fields are required.

  1. Option to list all fields

    • required: [field1,field2,field3 ..... field40]

Maybe there is an option to indicate that ALL fields of the answer are required. For example allOf ?

1 Answers1

1

required: [field1, field2, ..., field40] is the only way. There are no shortcuts.

Helen
  • 87,344
  • 17
  • 243
  • 314