Data Mover supports the Swagger documentation and user interface. The Swagger interface provides details about RESTful API specification and you can test REST APIs using Swagger. Once enabled, the Swagger interface can be constructed as in the following example:
https://dm_host:1443/datamover/swagger-ui.htmlUse the following commands to enable or disable Swagger:
Option | Description |
---|---|
Enable | Set swagger.ui.enabled=true in tdmrest.properties. |
Disable | Set swagger.ui.enabled=false in tdmrest.properties. |
You must restart the REST service after enabling or disabling Swagger.