There is an inconsistent use of certain model suffixes in the TOMP idiom. For instance, the booking endpoint expects a bookingRequest whereas the trip execution endpoint expects a legEvent. I think we should either always use the Request suffix when dealing with requests, or never. The notable exception would be where the term request is an explicit term used in a particular domain. Afaik this is not the case for TOMP.
The same holds for responses, enums, arrays, lists, etc.
When designing TOMP v2.0 we should take this into account.
There is an inconsistent use of certain model suffixes in the TOMP idiom. For instance, the booking endpoint expects a
bookingRequest
whereas the trip execution endpoint expects alegEvent
. I think we should either always use the Request suffix when dealing with requests, or never. The notable exception would be where the term request is an explicit term used in a particular domain. Afaik this is not the case for TOMP.The same holds for responses, enums, arrays, lists, etc.
When designing TOMP v2.0 we should take this into account.