foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
111 stars 13 forks source link

Latest filter ignored on ranged versions #41

Open kartikpatodi opened 2 years ago

kartikpatodi commented 2 years ago

On /packages endpoint if a ranged version is given, eg. >=8, then the latest filter is getting ignored and defaults to none. Expected response could be the latest filter applied for each version (8, 11, 15, 16) for each combination of packages.
It would remove the need to filter the response in such cases.

HanSolo commented 2 years ago

Will look into that…might be a useful thing to have 👍🏻