implementing swagger enabled route defs