Mkulkarni19
3 years agoRegular Visitor
Intercept api response by using swagger open api to introduce headers.
Hi Team,
we wanted to introduce headers in the api response using from swagger definition.
As per my understanding Swagger purpose is only for api documentation but still wanted to confirm that is it possible to intercept the api response from swagger definition and insert the response headers?
FYI..
I have modified the swagger open api json ()and included the response headers into it. I can see the headers on swagger UI but while executing the actual api , I am not getting those headers as part of response headers.
Thanks,
Mahesh Kulkarni