Suppose I have my users
resource, how do I sort my results using query params? I am thinking something along the lines of:
GET /users?sort=[id,name]
But then how would I specify either results should be asc
or desc
according to the OpenAPI 3.0
specification.
Is GET
even the right method for this purpose?