I need to use Swagger to send and receive JSONs. In addition, the API must do persistence and selection of data in a PostgreSQL database. I have already completed, in javascript the AJAX methods for sending and receiving JSONs, and the database ready.
My big question is how to use Swagger to connect to these endpoints. I modeled an API rest for my problem with the Swagger Editor , and with that I generated a node.js server.
In an abstract way, what would be my next step? I want tips on how and what to search.