0 Replies Latest reply on Mar 31, 2020 3:21 AM by M S

    [RESTv2 Connector] Swagger xml list with attritibutes

    M S New Member

      Hello!

       

      I would like to ask the required swagger file to parse the following response in xml:

      <list>

         <listitem id="a">10</listitem>

         <listitem id="b">20</listitem>

         <listitem id="c">30</listitem>

         <listitem id="d">40</listitem>

      </list>

      and be able to exctract the "id", and "value" fields for every item, such as:

      "a",10

      "b",20

      "c",30

      "d",40

      It seems like an xml list with attributes is not considered inside the OpenAPI specification: How to represent XML elements with attributes · Issue #630 · OAI/OpenAPI-Specification · GitHub and the informatica swagger creator just ignores the attribute id.