The toolforge-envvars-api project is using the interpose Go library, that hasn't been updated in 6 years. I think we should replace it with a maintained library, or write our own middleware.
The library is currently referenced in the official go-swagger docs, so I opened an upstream bug as well: https://github.com/go-swagger/go-swagger/issues/2948