Skip to content

Document matching departures.json to a requested parent stop (#26118) - #288

Merged
nighthawk merged 3 commits into
mainfrom
docs/26118-departures-parent-stop-matching
Nov 19, 2026
Merged

nighthawk merged 3 commits into
mainfrom
docs/26118-departures-parent-stop-matching

Conversation

@fersagui

@fersagui fersagui commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Docs for https://github.com/skedgo/skedgo-java/pull/8534 (Redmine #26118).

  • departures.json: rewrites the note on parent stops. embarkationStops is 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 in parentStops and follow its children, comparing codes ignoring case.
  • Adds parentStops to the response schema (it was returned but undocumented), and a description for embarkationStops[].stopCode.
  • Changelog, under Unreleased: Fixed, a departures.json request with another spelling of a parent's code no longer changes the code other endpoints return; parentStops now 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.yaml and tripgo.swagger.yaml.

🤖 Generated with Claude Code

fersagui and others added 2 commits November 13, 2026 11:49
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>
@fersagui
fersagui requested a review from nighthawk November 13, 2026 15:35
@fersagui fersagui self-assigned this Nov 13, 2026
@nighthawk

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

@nighthawk nighthawk closed this Nov 19, 2026
@nighthawk nighthawk reopened this Nov 19, 2026

@nighthawk nighthawk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…-parent-stop-matching

# Conflicts:
#	docs/changelog.md
@nighthawk
nighthawk merged commit 0f74df2 into main Nov 19, 2026
1 check passed
@nighthawk
nighthawk deleted the docs/26118-departures-parent-stop-matching branch November 19, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants