fix: multi paths is present inside the APIClass

Closed
AH
8mo ago
+22-0

Description

While working on the dm.delete API PR #36677, I discovered an issue where the endpoint definition used an array in the base path:

['dm.delete', 'im.delete']

The current APIClass implementation expects a single path string, not an array. As a result, several parts of the codebase; such as ExtractRoutesFromAPI - were failing, causing unexpected behavior.