Regenerate clients for gateway 0.6.0 (entity lifecycle status) - #23
Merged
Conversation
Bump SPEC_VERSION and the Python/TypeScript packages to 0.6.0 and surface the new entity lifecycle status API (read status and start/restart/ force-restart/shutdown/force-shutdown for apps and components). The 0.5.0->0.6.0 client surface change is additive: AppDetail and ComponentDetail gain a status field. Adds a curated lifecycle re-export module for the Python client and ignores the _generated build symlink.
mfaferek93
approved these changes
Jun 24, 2026
There was a problem hiding this comment.
Pull request overview
Updates the repository’s mirrored OpenAPI spec and curated client surfaces to match gateway 0.6.0, adding lifecycle status/control endpoints and associated schema changes while bumping both Python and TypeScript package versions to 0.6.0.
Changes:
- Bump OpenAPI/spec and both client package versions from 0.5.0 → 0.6.0.
- Extend the OpenAPI spec with lifecycle status/control endpoints and the
LifecycleStatusResponseschema (plus new query filters for logs/faults/updates). - Add a curated Python re-export module
ros2_medkit_client.api.lifecycleand ignore the_generatedpackage path in git.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| spec/openapi.yaml | Updates OpenAPI spec to 0.6.0 with lifecycle endpoints/schema and other additive query params; adjusts server URL example and tags. |
| SPEC_VERSION | Bumps tracked spec version to 0.6.0. |
| clients/typescript/package.json | Bumps TS package version to 0.6.0. |
| clients/python/src/ros2_medkit_client/api/lifecycle.py | Adds curated lifecycle API re-exports from generated client. |
| clients/python/pyproject.toml | Bumps Python package version to 0.6.0. |
| .gitignore | Ignores the Python _generated symlink/dir path under src/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
100
to
105
| required: | ||
| - id | ||
| - name | ||
| - type | ||
| - status | ||
| - data |
Comment on lines
471
to
476
| required: | ||
| - id | ||
| - name | ||
| - type | ||
| - status | ||
| - data |
Comment on lines
+4277
to
+4280
| /apps/{app_id}/status: | ||
| get: | ||
| operationId: getAppsStatus | ||
| parameters: |
Comment on lines
+7822
to
+7825
| /components/{component_id}/status: | ||
| get: | ||
| operationId: getComponentsStatus | ||
| parameters: |
Comment on lines
10024
to
+10026
| servers: | ||
| - description: Gateway server | ||
| url: http://localhost:8080/api/v1 | ||
| url: http://127.0.0.1:8080/api/v1 |
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 Python and TypeScript clients against the gateway 0.6.0 OpenAPI spec. The 0.5.0 -> 0.6.0 change is additive: the new entity lifecycle status API (read status and start / restart / force-restart / shutdown / force-shutdown for apps and components), a new
LifecycleStatusResponseschema, and astatusfield onAppDetail/ComponentDetail. BumpsSPEC_VERSIONand both packages to 0.6.0, and adds a curatedros2_medkit_client.api.lifecyclere-export module.Issue
Type
Testing
pytest90 passed;ruff checkclean; wheel builds and ships thelifecycleoperations.tscbuild +tsc --noEmittypecheck clean;eslintclean;vitest54 passed; regeneratedschema.d.tsincludes the/apps/{app_id}/status*and/components/{component_id}/status*paths.Checklist
api/lifecycle.pyadded)