Scaffolding APIs - Create GET, PUT, POST and DELETE
480
Views
2
Comments
New
Service Studio

It would be nice to be able to scaffold API methods automatically based on entities.

The idea is to work similar to some frameworks like Django that based on a data model creates the following methods:

If the entity is Account:

GET: /api/account/

GET: /api/account/{id}/

POST: /api/account

PUT: /api/account/{id}/

DELETE: /api/account/{id}

Of course after the scaffolding will be possible adapt to add validations/security process or anything that is necessary but this can accelerate some developments.


I agree with this idea, this will even make consistency among the URI and avoid manual mistakes. This feature won't be tough to be implemented. Outsystems should think about it. This is very common feature among most of the framework.

I agree with @Inês Oliveira Pestana idea.

this will even avoid manual mistakes.