Repository navigation
Document matching departures.json to a requested parent stop (#26118) - #288
Merged
Merged
Conversation
Describe parentStops in the departures.json response, and how a client matches a requested parent stop code to the embarkationStops of its children. Add a changelog entry for the skedgo-java fix that stops departures.json changing a parent stop's code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
@copilot resolve the merge conflicts in this pull request |
…-parent-stop-matching # Conflicts: # docs/changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs for https://github.com/skedgo/skedgo-java/pull/8534 (Redmine #26118).
departures.json: rewrites the note on parent stops.embarkationStopsis keyed by the stop services depart from, and a requested parent's departures are listed under its children. To match them, look up the requested code inparentStopsand follow itschildren, comparing codes ignoring case.parentStopsto the response schema (it was returned but undocumented), and a description forembarkationStops[].stopCode.departures.jsonrequest with another spelling of a parent's code no longer changes the code other endpoints return;parentStopsnow always returns the parent's own code.Merge after skedgo-java PR 8534 ships, so the changelog entry matches production.
The same change is made in both
tripgo.openapi.yamlandtripgo.swagger.yaml.🤖 Generated with Claude Code