Summary
The DeleteWebBrokerApiById handler in gateway/gateway-controller/pkg/api/handlers/webbroker_api_handler.go currently returns only status and message in the HTTP 200 delete response. The documented schema for this endpoint includes the id of the deleted resource.
Expected
The delete success response should include the id field to match the endpoint contract:
{
"status": "success",
"message": "WebBrokerApi deleted successfully",
"id": "<deleted-resource-id>"
}
Context
Requested by: @senthuran16
Summary
The
DeleteWebBrokerApiByIdhandler ingateway/gateway-controller/pkg/api/handlers/webbroker_api_handler.gocurrently returns onlystatusandmessagein the HTTP 200 delete response. The documented schema for this endpoint includes theidof the deleted resource.Expected
The delete success response should include the
idfield to match the endpoint contract:{ "status": "success", "message": "WebBrokerApi deleted successfully", "id": "<deleted-resource-id>" }Context
Requested by: @senthuran16