Skip to content

Release 0.5.0: regenerate clients from gateway 0.5.0 spec#21

Merged
bburda merged 1 commit into
mainfrom
release/0.5.0
Jun 11, 2026
Merged

Release 0.5.0: regenerate clients from gateway 0.5.0 spec#21
bburda merged 1 commit into
mainfrom
release/0.5.0

Conversation

@bburda

@bburda bburda commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Regenerate the TypeScript and Python clients from the gateway 0.5.0 OpenAPI spec and
bump the client packages to 0.5.0:

  • Re-exported spec/openapi.yaml from the gateway 0.5.0 API (scripts/export-spec.sh); SPEC_VERSION -> 0.5.0.
  • Regenerated TS types + Python client (scripts/generate.sh).
  • Bumped clients/python and clients/typescript package versions to 0.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 main so the published 0.5.0 npm package
carries the files: ["dist", "generated"] fix. Without #20 on main first, the 0.5.0
publish would re-ship the broken type export.

Issue

Part of the coordinated 0.5.0 release (gateway: selfpatch/ros2_medkit#406).

Type

  • Bug fix
  • New feature or tests
  • Breaking change
  • Documentation only

The 0.5.0 gateway API changed (typed router / DTO contract); the regenerated client surface follows it.

Testing

  • TypeScript: npm ci && npm run generate && npm run build && npm run typecheck && npm test && npm run lint - 54 tests pass; build / typecheck / lint clean.
  • Python: scripts/generate.sh, install .[dev], pytest (90 pass), ruff check + ruff format --check clean.
  • Spec: verified info.version 0.5.0, OpenAPI 3.1.0, 0.5.0 schema markers present (e.g. DataListResult x-medkit-opaque).

Copilot AI review requested due to automatic review settings June 8, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.yaml to 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.

…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.
@bburda bburda self-assigned this Jun 11, 2026
@mfaferek93 mfaferek93 self-requested a review June 11, 2026 13:12
@bburda bburda merged commit a9845b3 into main Jun 11, 2026
6 checks passed
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.

3 participants