I am trying to workout a simple way of creating swagger specs and client out of NestJS servers, the official solution is here https://docs.nestjs.com/openapi/introduction.
However, it requires the "server" to be spun up, which isn't ideal because some of the providers require complex setups (e.g. a connection to mongo).
For the sake of the task, thus,
this complex setup isn't necessarily required,
therefore it would be ideal some sort of TestingModule.stubAllControllerDependencies
,
so that you could just generate the swagger spec.