marcl's avatar
marcl
Occasional Contributor
9 years ago
Status:
New Idea

Command-line import of swagger API

Today we're generating a swagger documentation of the API provided by our Java and C++ applications. This swagger documentation is automatically generated at compilation time, based on annotations and comments present in the source code.

 

When adding new methods to our APIs (or new APIs altogether), the developer then has to manually import the swagger definitions in SoapUI (using the "new project from swagger definition" feature), then copy-paste the corresponding XML files in all our projects.

 

It would be great if we could automate the swagger-to-SoapUI conversion, using for example a command-line interface or a dedicated executable. This way we could plug this in our Continuous Integration system, and when someone add a new API (or a new method to an existing one) all his colleagues would then benefit from it simply by synching their projects on the latest version available in our version control system.

No CommentsBe the first to comment