fix swagger command support