Now, let's use Swagger UI to test the SQL JDBC program. The step-by-step instructions are as follows:
- Go to the java_rest_client directory and issue the Maven run command, as described in the following code block:
cd java_rest_clientmvn spring-boot:run
- Use a web browser and type the URL, http://localhost:10010/swagger-ui.html#/sql-jdbc-client-controller, to reach the Swagger UI page for the project, as shown in the following screenshot, and then click on sql-jdbc -client-controller to expand the panel:
- Click the GET button to expand the panel to see the usage:
- Click the Try it out button and the panel will ...