[Bug] [Meta] /UI/ can't handle a nested array parameter in the swagger spec #908
Closed
3 of 6 tasks
Labels
duplicate
Issue is similar to an already existing one.
Bug
https://esi.evetech.net/ui/#/Routes/get_route_origin_destination
While investigating #907, it was discovered that the UI doesn't seem to support producing nested arrays, let alone an array of pairs, for the connections parameter of the route endpoint.
Inputting destination:
30000142
, origin:30002187
, and then attempting to build a connections pairing of:30003522,30000144
will result in the UI adding a strange somewhat-associated pair of text fields and "Add Item" & "-" buttons, but any single or comma/space separated values cannot be successfully used and instead result in400: Bad Request
responses.Response
Status Code
400
Body
For space-separated single field use:
{ "error": "failed to coerce value '[30003522' into type integer (format: int32), failed to coerce value '30000144]' into type integer (format: int32)" }
For comma-separated single field use:
{ "error": "too few items for '.connections'" }
Checklist
Check all boxes that apply to this issue:
The text was updated successfully, but these errors were encountered: