Help me understand this Swagger documentation

I need help how to understand this Swagger documentation

https://petstore.swagger.io/v2/swagger.json

For example, am I supposed to find Pet by status - Multiple status values can be provided with comma separated strings

Does that mean that a user can search with multiple status values? As this is a Spring boot project, I am not sure how one can achieve that. Do I use custom query and Spring boot JPA ?

I don’t know if I really understood your question. Hopefully it helps:

Take a look at curl or request URL.
It sends a list of statuses: ?status=available&status=sold
I am not familiar with Spring, but usually framework would parse the statuses into something similar var query = { status: ['available', 'sold'] }

And then u do what u wish with that.