gbif / gbif-api

GBIF API
Apache License 2.0
27 stars 5 forks source link

citationType interpreting ES array literally #87

Closed dnoesgaard closed 2 years ago

dnoesgaard commented 2 years ago

The field "citationType" appears to interpret the array in ES literally, resulting in

"citationType": "[DOI]" "citationType": "[generic]"

example: https://api.gbif-dev.org/v1/literature/search?gbifTaxonKey=5668821

fmendezh commented 2 years ago

https://github.com/gbif/content-crawler/commit/9461d133b7396e15b8ba16e0471dbcd47f94d710