cancel
Showing results for 
Search instead for 
Did you mean: 

Update swagger definition without removing tests

Occasional Contributor

Update swagger definition without removing tests

I recently updated the code in my API with [SwaggerOperation("GetSomethingBySomethingId")] attributes to provide better names in the Ready API project but when I update the definition in Ready API it removes the test steps associated with them.

 

Is there a way to update the definition and somehow update the test steps in the SoapUI Pro tab without it removing them completely? I cannot use the refactoring option at the moment because I have errors due to missing information not being populated in the swagger json so I am working on getting that resolved. In the meantime, I wanted to update them via the update feature.

 

Update: I went ahead and updated the json manually and refactored my tests. 

1 REPLY 1
Occasional Contributor

Re: Update swagger definition without removing tests

Hey All

 

I too Have this Issue and would really like to know if this has a viable work around as we are constantly building up our API's

 

Thanks