Forum Discussion

hhfrancois's avatar
hhfrancois
Occasional Visitor
10 months ago

how to know than request come from swagger-ui

Hi,

Is there a way to ask to swagger-ui docker image to add a header or something like that to all request launch from it.
My need is I want to know when the request come from swagger-ui for limit the number of result.
Some API return many result. And In these cases swagger-ui completly froze.

So I try to detect in my API that the request come from swagger-ui for limit the number of json item returned.

 

No RepliesBe the first to reply