Forum Discussion

shoaibalam's avatar
New Contributor
7 years ago

SwaggerHub integration with Azure

I integrate SwaggerHub with Azure API management service and publish my API to Azure. I modified the  API policy as follows:


   <set-status code="200" reason="OK" />
       { "name":"John", "age":30}
  <base />
  <base />
  <base />


When I execute it from SwaggerHub instead of response body as JSON string it shows a download file link. Content of the file contains actual JSON string.


No RepliesBe the first to reply