Have you updated the response options?
In this blog post, check out the responseParametersSwagger example section .
responseParameters:
method.response.header.Location: "integration.response.body.location"
Set-Cookie. - :
responseParameters:
method.response.header.Location: "integration.response.body.location"
method.response.header.Set-Cookie: "integration.response.body.setCookie"