Skip to content

Support XML simple type lists #612

Closed
@jbreich

Description

@jbreich

From what I understand it is not possible to use an XML document containing a simple type list like this one:

<xs:element name="root">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="list">
        <xs:simpleType>
          <xs:list itemType="xs:string" />
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

A valid xml is:
<root><list>value1 value2</list></root>

With Swagger it is only possible to represent an array using a repeated XML element with an optional XML element wrapper. It would be nice to also support this

Metadata

Metadata

Assignees

No one assigned

    Labels

    media and encodingIssues regarding media type support and how to encode data (outside of query/path params)xml

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions