Assuming a fixed set of values, you can probably use deepObject style in OAS3 – 
but the documentation doesn’t support that feature yet.

 

 

 

From: <[email protected]> on behalf of Zach Eisenhauer 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Saturday, March 3, 2018 at 17:31
To: Swagger <[email protected]>
Subject: How to do advanced queries like "filter[attributes][operator]=name"

 

I am trying to allow users in our API to add multiple filters for events. An 
example would be 

http://myapi.com/events/?filter[startTime][gte]=currTime&filter[startTime][lte]=tomorrowTime

 

Please let me know if this is possible in the documentation. I would want to 
let uses execute with the 3 variables and see a response. 

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to