Swagger docs endpoint
To enable the Swagger docs endpoint, setapi.swagger to true in the app.toml file:
http://<node-ip>:<port>/swagger/ (for example, http://localhost:1317/swagger/).
The default API port is 1317. Make sure that the API server is enabled: set enable = true in the [api] section of your app.toml.