Forum Discussion

neerajdahiya's avatar
New Contributor
5 years ago

Handling XML namespace in Swagger file

I am creating swagger YAML file for my XML APIs. Existing APIs consists of multiple xml namespaces in request body (sample below). I am able to take all the API to swagger YAML except definition of namespaces as part of root element.

Any inputs on how to map multiple xml namespaces would be really helfpul.



Connection: keep-alive

Content-Length: 633

<Prov xmlns:xsi="" xmlns="">
<Header>    <rID/>    <ver/></Header> </Prov>

3 Replies