Project

General

Profile

Actions

Architecture #4601

closed

Architecture #4600: Ease new REST APIs creation

Generate API (url and header kind) from same request dispatch code

Added by Vincent MEMBRÉ about 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

The most problem is that we duplicate code between API versions and kind of API.

We need to reduce that amount of code.

My idea is to define a Map, that define all API for an API version

then parsing that map to generate both all versionnings kinds of API (header and url versionning)

Actions

Also available in: Atom PDF