I have installed swagger documentation pluging.
for any api endpoints generated automatically only _limit, _start, _sort operators work.
The rest parameters do not work as column name is not prefixed before the operator.
for e.g.
if I pass “Turkey” to = parameter box in swagger, this is what I get
http://localhost:1337/adventures?%3D=Turkey
{
"statusCode": 400,
"error": "Bad Request",
"message": "Your filters contain a field '=' that doesn't appear on your model definition nor it's relations"
}
I know that I need to pass it like http://localhost:1337/adventures?country=Turkey
How can I pass column names to swagger parameters.