We'd like to specify a few examples for our operations in our Swagger file, and I guess the only way to do so is to specify a body parameter and fill the 'example' property of the Schema object belonging to that operation.
The spec mentions that the 'example' field in the Schema object is of type object, so it can specify only one example.
We'd like to specify a few examples for our operations in our Swagger file, and I guess the only way to do so is to specify a body parameter and fill the 'example' property of the Schema object belonging to that operation.
The spec mentions that the 'example' field in the Schema object is of type object, so it can specify only one example.