Using Swagger 1.2 Files

You can use Swagger 1.2 API declaration files.

To consume the interfaces created using Swagger 1.2 in the current version, import the projects, and click the REST module under the Processes folder in the Project Explorer and select Refactor -> Expose REST Resource to extract the hidden resource files. These Swagger 1.2 files appear in the Service Descriptors folder and can be used in the same manner as the Swagger 2.0 files.