Closed ue71603 closed 5 months ago
Stefan/Matthias: Let's also have a default in the response. And update the Changelog (that it is optional with default value)
@ue71603 Do I understand you correctly that you want to keep the OJPMultiPointTripRequest.Params optional and also want to keep OJPMultiPointTripRequest.Params.MultiPointType required? The changes you are suggesting are adapting the documentation accordingly and adding a default value to the response (OJPMultiPointTripDelivery.MultiPointType)? This would be fine for me.
@herlitze that is exactly what I intend to do...
addressed in https://github.com/VDVde/OJP/pull/443
@ue71603 Do I understand you correctly that you want to keep the OJPMultiPointTripRequest.Params optional and also want to keep OJPMultiPointTripRequest.Params.MultiPointType required? The changes you are suggesting are adapting the documentation accordingly and adding a default value to the response (OJPMultiPointTripDelivery.MultiPointType)? This would be fine for me.
In the current state OJPMultiPointTripRequest.Params.MultiPointType
no longer is required. Is that how it is supposed to be? @herlitze @ue71603
@sgrossberndt I don't remember any reason for this and I didn't find any reason in the comments either. @ue71603 Was this done intentionally?
Austria noted:
The parameter IS optional. and marked that way. In TripRequest "anyPoint" is the the default value that should be implemented.
In the response it is noted, that it "should" be returned. In my view this might be enough. Different opinions?
Urgent answers needed.
Andrés proposal: