Add Create Action Wrapper option for Consumed REST APIs
55
Views
0
Comments
New
Service Studio

Problem: Right now, the platform lets us right-click an Entity and select "Create Action Wrapper" to instantly generate a secure CRUD wrapper.

However, we don't have this option for Consumed REST APIs. Developers must manually create a Server Action, recreate the inputs/outputs, and add error handling for every single API endpoint. For large APIs, this takes a lot of time and involves repetitive boilerplate work.

Solution: Add a "Create Action Wrapper" option when you right-click a Consumed REST API or its individual methods.

When clicked, Service Studio should automatically generate a Server/Service Action that:

  • Copies all input and output parameters.
  • Calls the REST API method inside it.
  • Includes a standard Exception Handler block.

Why this helps:

  • Saves Time: Speeds up integration development by cutting out repetitive manual mapping.
  • Best Practices: Makes it effortless for teams to follow clean architecture guidelines by abstracting integration layers.