Add support for swagger for rest documentation