Ask a Question

How to indicate in OpenAPI that all response fields are required?

raven42
Occasional Visitor

How to indicate in OpenAPI that all response fields are required?

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

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 ?
0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: