Customization
Multiple responses
Show response variations for the same endpoint
If your API returns different responses based on input parameters, user context, or other conditions of the request, you can document multiple response examples with the examples
property.
This property can be added to any response and has the following schema.