Forum Discussion

jenisats's avatar
jenisats
Occasional Visitor
4 years ago

Open API 3 Schema in Editor

We were trying to use Open API 3 for our rest APIs which have XMLs as payload.  So we want to place xsd in schema and xml in example/examples. But we came across few blogs which suggests it’s not supported by open API 3, instead we need to convert xsd to jschema and use it.

 

Can you please clarify how to use xml and xsd with swagger for our Rest APIs.

2 Replies

    • slogic's avatar
      slogic
      Occasional Contributor

      We do manual transition from xsd to swagger scheme (in yaml fomat). But we have serious troubles with validating xml payload by scheme. Atlassian sagger request validation lib does not provide this yet (prints not supported at logs). Does anybody can help?