Open topic with navigation

TIBCO ActiveMatrix® Service Grid - Container Edition 1.0.0

# Accessing Swagger UI from the Application Monitor

In TIBCO ActiveMatrix Service Grid, you can generate the Swagger from (REST binding type) endpoints exposed in an application. Similarly, in ActiveMatrix Service Grid - Container Edition, you can view the Swagger response of the exposed REST endpoint. By using this feature, you can validate the response generation of the REST request by using the Swagger UI.

Before you begin

- You must have Swagger UI hosted externally.
- You must provide the link to the Swagger UI hosted externally by using the environment variable `amxce_swaggerui` in the file `amsgce-runtime-<version>\samples\kubernetes\Application_Monitor\tea-agent.yaml.`

- To disable default Swagger UI validator, set `VALIDATOR_URL` to none in the `tea-agent.yaml` file.

Procedure
1. In the Application Monitor sidebar, click Applications. A list of all the applications is displayed.
2. Select the required application.

3. Click the Endpoints tab.

4. Click the Swagger UI icon next to REST service binding.

The Swagger UI is generated for the selected REST binding.

You can also access the Swagger UI from the Service Discovery page.

Copyright © 2020-2021. TIBCO Software Inc. All Rights Reserved.