Add swagger configurations to fix unit tests