update to use ring.swagger 0.5.0
domain to contain more types