Deleting Operations from REST Service
- Procedure
- Select an operation in a REST service. Right-click the operation and select
If you created a REST service using wizard, the Delete Operation dialog is displayed.
If you created a REST service using external swagger file, the following dialog is displayed:
Note: It is recommended to keep the Generate Implementation Specification checkbox selected to generate a swagger file. - Optional. To see the changes that are performed, click
Preview.
- Once you delete an operation, remove the constructor implementation by selecting the
Remove OnMessage.
Important: If you created a REST service using external swagger file, then to reflect the changes in the REST reference binding, a new reference binding should be created using the newly generated swagger file. However, if you created a REST service using wizard, then create a new reference binding with an existing swagger file only.The operation is deleted.