Remove unnecessary header append from swagger example

Also added a doc string to the redirect route.