I have an application that uses connexion and swagger andd is quite large already. Just like in examples of this framework, the connections to database are created outside o