Added unit test for swagger docs command