add support for swagger