You should consider making the docs a bit more clear here.
What we actually have on /vehicles is 3 endpoints
GET /vehicles
GET /vehicles/{vehicle uuid}
POST /vehicles
1 and 2 should each have a seperate doc point.
1 and 2 should be GET and not really POST endpoints?
1 returns an array and 2 returns an object? This is unclear from the docs
3 should strickly return 201 status code
This might also count for other places, I just started implementing the 2.0 specs, and I seem to recall these confusing things when implementing 1.0 as well
https://github.com/openmobilityfoundation/mobility-data-specification/blob/2.0.0-rc1/agency/README.md#vehicles
You should consider making the docs a bit more clear here. What we actually have on
/vehicles
is 3 endpointsGET /vehicles
GET /vehicles/{vehicle uuid}
POST /vehicles
GET
and not reallyPOST
endpoints?201
status codeThis might also count for other places, I just started implementing the 2.0 specs, and I seem to recall these confusing things when implementing 1.0 as well