项目作者: Axection

项目描述 :
A little API Adapter for multipurpose REST API
高级语言: TypeScript
项目地址: git://github.com/Axection/api-design.git
创建时间: 2020-05-28T20:10:22Z
项目社区:https://github.com/Axection/api-design

开源协议:

下载


API Adapter

This code serves a purpose of being data-driven API list.

This approach suggests you to store params, payload, endpoints etc. into single usable object and separate the action into different “executor”. It sounds like “data transformation”, which consists of data and transformer/actor.

Please check testA.ts and testB.ts to see different kinds of approach