Task - Retourner un `properties` vide si le paramètre properties est présent dans la requête mais vide
Created by: benoitdm-oslandia
In GitLab by @azarz on Oct 11, 2022, 15:06
curl -X GET "http://localhost:9000/collections/mock_a/items/1?properties=&crs=4326" -H "accept: /"
En mode mock :
{
"type": "Feature",
"id": "1",
"geometry": {
"type": "Point",
"coordinates": [
-120,
40
]
},
"properties": {
"prop_a": "propA",
"prop_b": 1,
"prop_c": "propC",
"prop_d": 1
}
}
En mode db :
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-120,
40
]
},
"properties": {}
}