How can we use swagger to generate docs with wsdl files ?

Originally posted by Priyanka11 on June 18, 2020

Hi,

I am interested in knowing that if a swagger can be used for creating docs with wsdl files.

I have a code which is written in simple Java & it has soap api services.So,want to know if any swagger components can serve the purpose for documentation ?

Originally posted by HKosova on June 18, 2020

OpenAPI Specification and Swagger tools are for REST APIs only. SOAP APIs are not supported.

Originally posted by Priyanka11 on June 19, 2020

Thanks Helen for your reply.I know it works best for rest api.but I have also got to know that there are some swagger components which you can install to generate the documents if it is not in rest api like if you are using spring boot you acn install swagger-jersey2-jaxrs.So,just wanted to know if we have similar component supported for simple java or not.

Originally posted by HKosova on June 19, 2020

Check out the Java libraries listed here:

https://swagger.io/tools/open-source/open-source-integrations/#java

Maybe one of them does what you need.