Added routing to swag 1 and swag 2