Intercept api response by using swagger open api to introduce headers.
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?
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.