CDI support for swagger