simplify swagger