How to get the drop down to select XML/JSON when invoking REST Service in the Swagger UI?

How to get the drop down to select XML/JSON when invoking REST Service in the Swagger UI?

book

Article ID: KB0093665

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
How to get the drop down to select XML/JSON when invoking REST Service in the Swagger UI ?

Issue/Introduction

How to get the drop down to select XML/JSON when invoking REST Service in the Swagger UI?

Resolution

By default only JSON is selected in "Client Format" of the REST binding. To get XML as the drop down in the Swagger UI, select the XML check box as well. Refer the attached screenshot (Filename: JSON_XML.jpg) .

Attachments

How to get the drop down to select XML/JSON when invoking REST Service in the Swagger UI? get_app