Refactoring a REST Service or Reference
You can change the configuration of your REST service even after it is created in TIBCO Business Studio.
Updating a service created from an imported Swagger file
The icon to the left of the Swagger file in the Project Explorer in the TIBCO Business Studio displays an indication that the file has been modified in its original location and the local copy of the file is not in synchronization with it source. You can compare the differences between the two and update your local copy if need be. To do so, follow these steps:
- Right-click the Swagger file under Service Descriptors in the Project Explorer.
Check for Differences checks for differences between the imported copy and its original.
Compare Differences first checks for differences between the imported copy of the Swagger file and its original. If there is a difference, the file will appear in the Synchronize tab and if you double click it there it displays the two files side by side with the differences highlighted.
Update Local Copy updates the copy of the file in your workspace to match the source. It also regenerates the schema. It updates it in both the service and reference.