VDVde / OJP

Open API for distributed journey planning. CEN/TS 17118:2017.
https://www.vdv.de/open-journey-planner.aspx
22 stars 12 forks source link

Additional Extension Points for Params and extending Request examples #369

Closed ue71603 closed 1 year ago

ue71603 commented 1 year ago

Many Extensions affect the parameters of a request. This PR adds the missing Extension points. For the Location information request this had to be done with a different name as otherwise an ambiguity occurs (as PlaceParamStructure can be completly empty).

ue71603 commented 1 year ago

check for Extension in LIR/Restrictions

sgrossberndt commented 1 year ago

@ue71603 After merging I had to adapt TR_01_request_Bern_Luzern_10_results_optimisation_fastest.xml as it was in the wrong order:

https://github.com/VDVde/OJP/pull/369/files#diff-bd26ebd43d28c5987af0174c9ffc584b092652f2e94e16e1ca86927a421b425b

BikeTransport must be before NumberOfResults

I wonder why this was not caught by the previous CI run: https://github.com/VDVde/OJP/actions/runs/5271618917/jobs/9532760995#step:6:52

ue71603 commented 1 year ago

I thought it might be the folders, but they are set correctly and all examples should have been validated.