Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-9983

The response body in Active Docs 3.0 is modified

XMLWordPrintable

    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Current Behavior
      When calling a REST endpoint over the ActiveDocs Try it out feature which returns an json array of objects in the http response body, 3scale adds:
      1) An additional servers object with the Public Base URL.
      2) Wraps each object into a properties with the array index as value.

      Information attached:

      • activedoc-response0.png, activedoc-response1.png: screenshots of the current response in the Admin portal ActiveDocs.
      • response_1689926655674.json - current response downloaded from the Admin portal ActiveDocs.
      • curl-petstore: response received from curl, using the curl request shown in the ActiveDocs.
      • response-received.png: view of the response received vs response rendered in ActiveDocs.

      Expected Behavior
      3scale shouldn't modify the response received.

        1. response-received.png
          response-received.png
          80 kB
        2. response_1689926655674.json
          3 kB
        3. curl-petstore.json
          5 kB
        4. activedoc-response1.png
          activedoc-response1.png
          41 kB
        5. activedoc-response0.png
          activedoc-response0.png
          38 kB

              Unassigned Unassigned
              rhn-support-avilatus Anna Vila Tusell
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: