And switch from Swagger specification to OpenAPI specification. The best approach is to migrate the old spec swagger.json to openapi.yaml and then regenerate the project and copy over the business handler logic. Upgrade to the latest Mongo driver and writing a tutorial would be much better.