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

This may be a great use case for `$1` instead of repeating the regex matching - http://www.intridea.com/blog/2010/3/29/ruby-quick-tip-regular-expressions-in-case-statements