Closed
Description
I am using Ransack (https://github.com/activerecord-hackery/ransack/wiki/Basic-Searching) to build dynamic queries.
Say I have this model:
first_name: string
last_name: string
age: integer
email: string
Is there any way to document the following query?
GET api/v1/users?q[first_name_cont]=eric&q[email_not_cont]=gmail
or this?
GET api/v1/users?q[last_name_cont]=johnson&q[age_gt]=18&q[email_cont]=gmail
If not, do you know any workarounds for this?
Metadata
Metadata
Assignees
Labels
No labels