cancel
Showing results for 
Search instead for 
Did you mean: 

Handling XML namespace in Swagger file

Highlighted
New Contributor

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="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.example.com/provisioning/services">
<Header>    <rID/>    <ver/></Header> </Prov>

New Here?
Join us and watch the welcome video:
Watch the new Interview