How to use oneOff, anyOff

11 views
Skip to first unread message

Lavin Motwani

unread,
Oct 17, 2017, 2:47:21 AM10/17/17
to Swagger
I want to use "anyoff, oneoff" in swagger for query parameters.

The requirement is to allow the client to enter one of the three parameters necessarily.

Is it possible to use them in query parameters, and if it is then how.


Thanks.
 

Ron Ratovsky

unread,
Oct 17, 2017, 12:26:29 PM10/17/17
to swagger-sw...@googlegroups.com

OpenAPI doesn’t allow you to define interdependencies between parameters.

--
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 swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages