DexLib is a library used in the backend of ParaSwap to be able to incorporate decentralized exchanges. Using DexLib, any external developer can integrate their DEX into ParaSwap by creating a new pull request.
For a more technical explanation of how to incorporate DexLib, please see our GitHub page: https://github.com/paraswap/paraswap-dex-lib