Using Swagger-Provided Faults

Fault codes that are defined in a Swagger file that is used in TIBCO Business Studio for BusinessWorks can be viewed from the Response Status tab.

View the fault codes used in a REST service or reference follow these steps:

Procedure

  1. Click the service or reference in the Process Editor.
  2. In the General tab of the Properties view, click the link for the service or reference binding.
  3. In the Components properties, click the Bindings tab.
  4. Click an operation under Operations in the RestService or RestReference tree to edit the configuration of the operation.
    The Summary page for that operation opens on the right. To view the error codes, click the Response Status for the operation.