...
Adding the Swagger file
Follow the steps below to add the underlying Swagger file of then sample publicly available live REST Service that we use in this guide, to WSO2 G-Reg. For more information on adding a REST Service to WSO2 G-Reg, see Adding a REST Service.
- Log in to the G-Reg Publisher using the following URL and admin/admin credentials: https://<G-REG_HOST>:<G-REG_PORT>/publisher
- Click the main menu button of the G-Reg Publisher, and then click Swaggers as shown below.
- Click the following ADD button:
- Select Upload Swagger from a file as shown below.
- Click Browse to select the Swagger file to upload it, and then specify its version as shown below.
- Click Create.
- Refresh the screen to view the new Swagger artifact you added as shown below.
Anchor artifact artifact
...
Follow the steps below to view how the added REST Service, Swagger, and Endpoint are created and linked together using the provided dependency view. For more information on viewing dependencies between assets, see Viewing Dependencies of Artifacts.
- Click the Swagger artifact which you created above.
- Click the following Show Dependency button:
You view the dependencies of the selected artifact as shown below.
...