Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Working with REST API Descriptors | Swagger Based Provider REST API Descriptors | Working with REST Resources in a REST API Descriptor | About Operation Responses | Removing an Operation Response
 
Removing an Operation Response
You can remove an operation from a response, including any operations that Designer adds by default. However, each operation must have at least one response. If an operation has only one response, it is a best practice to make sure that the response is for successful execution of the operation.
*To remove a response from an operation
1. In the Package Navigator view, lock and open the REST API descriptor that contains the REST resource operation for which you want to add a response.
2. Click the REST Resources tab.
3. Expand the REST resource for which you want to add an operation response.
4. Expand the operation for which you want to add the operation response.
5. Click Responses.
Designer displays the responses for the operation.
6. Click .
Designer deletes the operation response. Designer disables if the operation contains only one response.
7. Click File > Save.