Skip to main content

Swagger docs endpoint

To enable the Swagger docs endpoint, set api.swagger to true in the app.toml file:
After you restart the node, the Swagger docs are available at 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.