-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Next return Journey feature #19
base: WIP-operator-complete-api-initial-version
Are you sure you want to change the base?
WIP Next return Journey feature #19
Conversation
@osarrat following our discussion I added the |
27e1e97
to
57be5ba
Compare
description: Ok. Request processed successfully. | ||
content: | ||
application/json: | ||
schema: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This endpoint takes several ids and returns a single journey - I believe you meant to return an array here, right?
operationId: getJourneys | ||
parameters: | ||
- in: query | ||
name: ids[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should put the brackets in the name, as we have not at other places.
@adelcasse @osarrat We are discussing today whether this PR is really needed. I know this has been discussed before but could we reconsider the need for the property My concern is that we are trying to make edge cases fit into the standard and the risk is of complexifying the spec for little gain. With that in mind, could we, for example, reconsider the idea of simply calling the search again with the start/end addresses reversed to find potential return journeys? |
Hi @riclage , |
Following today's discussion, we decided to keep this PR unmerged, but ready if the need for this functionality would arise in the future. In more details :
|
Based on our discussion on how to manage return journey, a brief PR to manage this dimension of the standard.
The aim of the feature is to retrieve the next return journey with the same driver, if any, as supported by RDEX+.
The objectives of this PR are two-fold: