Ask a Question

How make response params mandatory (required)

lirika123
Occasional Visitor

How make response params mandatory (required)

Im using Swagger 

openapi: 3.0.1

I want to define in the response params fields that are mandatory, is there any way for that?

I know for request params i can do that with 

required: true or false

but what is the situation with response?
0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: