mirror of
https://github.com/badges/shields.git
synced 2026-11-21 16:06:35 +03:00
* add base service routeEnum * enhance error handling in BaseService for invalid parameters * check for pattern for routeEnum as well to be used * validate routeEnum in BaseService to ensure it is a non-empty array of strings * add routeEnum validation and handling in BaseService tests * refactor route pattern in GemDownloads to use routeEnum * add routeEnum to redirector * refactor route pattern in TeamCityBuild use routeEnum * refactor TwitterUrlRedirect route pattern to use routeEnum * refactor PackagistDownloads route pattern to use routeEnum * refactor MozillaObservatory route pattern to use routeEnum * refactor HexPmDownloads route pattern to use routeEnum * refactor GreasyForkInstalls route pattern to use routeEnum * refactor documentation to include routeEnum support and examples * remove @type tag description for routeEnum * refactor getBadgeExampleCall to support routeEnum for path parameters * refactor BaseService to support routeEnum for dynamic route registration * fix: correct enum route registration firstParamName was used as litteral string insted of evaludating the value of the actual firstParamName extracted beforehand. * fix: remove duplicated text * fix: doc identation * fix: robust enumParam extraction in getBadgeExampleCall * docs: add comment about url conventions in `routeEnum` * docs: simplify `routeEnum` doc * docs: move route points