[DC/TB] [78726180] serve swagger jsons from correct locations

This should be `case env['PATH_INFO']`, so the `when`s can just have `"/docs/"` and `"/docs"`.