简体   繁体   中英

Generating YAML file from existing JAVA Spring API

Is there any way of generating YAML file from existing Soap based API build in JAVA Spring ?

I need to generate swagger definition file (YAML file) from existing Java spring API.

You can create Rest API above your Soap client and then just enable Swagger in the project. Here you can see how to add Swagger in your application Setting Up Swagger 2 with a Spring REST API .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM