Hello,

Web Api 2 supports cancellation token by simply adding an extra parameter to 
the action method. This extra parameter is not part of the route thus the 
method's API signature. The framework is automatically supplying the token on 
call.
I am using route attribute where this parameter is not specified either.
Still Swagger UI is expecting the cancellation token, but that can't be 
supplied from an outer source evidently. 
How can I annotate or mark it somehow so that swagger would ignore it?

-- 
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