Release 0.5.0: regenerate clients from gateway 0.5.0 spec#21
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the repository to the gateway 0.5.0 OpenAPI contract by replacing spec/openapi.yaml with the exported 0.5.0 spec and aligning the client package versions accordingly. This fits the repo’s purpose of hosting regenerated TypeScript/Python clients derived from the gateway spec (with generated artifacts built in CI).
Changes:
- Updated
spec/openapi.yamlto the gateway 0.5.0 OpenAPI 3.1 spec (new/renamed schemas and updated endpoint shapes). - Bumped the tracked spec version (
SPEC_VERSION) and README reference to 0.5.0. - Bumped TypeScript and Python client package versions to 0.5.0.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| spec/openapi.yaml | Re-exported/regenerated OpenAPI 3.1 spec reflecting gateway v0.5.0 schema + endpoint changes. |
| SPEC_VERSION | Updated recorded gateway spec version to 0.5.0. |
| README.md | Updated documentation to reference gateway spec v0.5.0. |
| clients/typescript/package.json | Bumped TS package version to 0.5.0. |
| clients/typescript/package-lock.json | Kept lockfile metadata in sync with the TS package version bump. |
| clients/python/pyproject.toml | Bumped Python package version to 0.5.0. |
Files not reviewed (1)
- clients/typescript/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4 tasks
…o 0.5.0 Re-export the OpenAPI spec from the gateway 0.5.0 API and regenerate the TypeScript and Python clients against it. Bump SPEC_VERSION to 0.5.0, the python and typescript package versions to 0.5.0, and the README spec reference. Generated code is rebuilt in CI from the new spec.
mfaferek93
approved these changes
Jun 11, 2026
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.
Summary
Regenerate the TypeScript and Python clients from the gateway 0.5.0 OpenAPI spec and
bump the client packages to 0.5.0:
spec/openapi.yamlfrom the gateway 0.5.0 API (scripts/export-spec.sh);SPEC_VERSION->0.5.0.scripts/generate.sh).clients/pythonandclients/typescriptpackage versions to0.5.0; updated the README spec reference.Generated code is gitignored and rebuilt in CI from the new spec.
Depends on #20
The npm type-export fix (#19) is split into #20 and is not part of this branch.
Merge #20 first, then this PR is rebased onto
mainso the published 0.5.0 npm packagecarries the
files: ["dist", "generated"]fix. Without #20 onmainfirst, the 0.5.0publish would re-ship the broken type export.
Issue
Part of the coordinated 0.5.0 release (gateway: selfpatch/ros2_medkit#406).
Type
The 0.5.0 gateway API changed (typed router / DTO contract); the regenerated client surface follows it.
Testing
npm ci && npm run generate && npm run build && npm run typecheck && npm test && npm run lint- 54 tests pass; build / typecheck / lint clean.scripts/generate.sh, install.[dev],pytest(90 pass),ruff check+ruff format --checkclean.info.version0.5.0, OpenAPI3.1.0, 0.5.0 schema markers present (e.g.DataListResultx-medkit-opaque).