We began to use swagger plugin to refactor definition in Ready! API, but SwaggerImporter implementations added parsed interface description to the project, so after refactoring we had two interfaces instead of one (SOAP-4429). I added a parameter forRefactoring to createSwaggerImporter. If it is true, importer just create a RestService without adding it to the project. I left the old methods.
Also, replaced swagger-parser 1.0.8-SNAPSHOT with 1.0.8 in pom, as SNAPSHOT is no longer in nexus.
We began to use swagger plugin to refactor definition in Ready! API, but SwaggerImporter implementations added parsed interface description to the project, so after refactoring we had two interfaces instead of one (SOAP-4429). I added a parameter forRefactoring to createSwaggerImporter. If it is true, importer just create a RestService without adding it to the project. I left the old methods. Also, replaced swagger-parser 1.0.8-SNAPSHOT with 1.0.8 in pom, as SNAPSHOT is no longer in nexus.