esi / esi-issues

Issue tracking and feature requests for ESI
https://esi.evetech.net/
208 stars 23 forks source link

Conventions - return of empty optional array #1090

Open Seavert opened 5 years ago

Seavert commented 5 years ago

Inconsistency

In spec's responses some arrays are optional and not limited below which allows empty return.

Routes

Resolution

Per every case, either way:

  1. Make it required. Better decision imo - array always exist, even with 0 items.
  2. Add minItems=1 to omit empty result at all.

    Checklist

Seavert commented 5 years ago

Related elements

guiguilechat commented 5 years ago

3rd solution : return 404 when the array is empty. no joke