In the "How to use" section, your README file has:
Now you can filter, sort and paginate versions:
GET /api/version?$filter=major gt 2&$orderby=major desc
would return this response:
{
"value": [
{ "major": 3, "minor": 0 },
{ "major": 2, "minor": 0 }
]
}
The query is requesting versions where major is greater than 2, so the response should only contain one record ({"major":3,"minor":0}).
Presumably, the request should actually be:
GET /api/version?$filter=major ge 2&$orderby=major desc
using the "greater-than-or-equal-to" operator, rather than the "greater-than" operator.
In the "How to use" section, your README file has:
The query is requesting versions where
majoris greater than2, so the response should only contain one record ({"major":3,"minor":0}).Presumably, the request should actually be:
using the "greater-than-or-equal-to" operator, rather than the "greater-than" operator.