fix: regenerate OpenAPI spec from gateway schema fixes#18
Merged
Conversation
Regenerated spec/openapi.yaml from gateway with all schema fixes from selfpatch/ros2_medkit#329. Bumped both client package versions to 0.1.1. Key spec changes: - Lock endpoints: AcquireLockRequest/ExtendLockRequest with integer lock_expiration, X-Client-Id header documented - PUT /locks/{id}: 204 No Content (was 200 + Lock) - New schemas: DataWriteRequest, ExecutionUpdateRequest, ScriptControlRequest with proper field types and enums - ScriptMetadata.parameters_schema now nullable - x-medkit fields: additionalProperties: true - trigger_condition: additionalProperties: true - LogConfiguration: optional fields, severity_filter enum, bounds - All routes accept optional trailing slash
mfaferek93
previously approved these changes
Mar 31, 2026
There was a problem hiding this comment.
Pull request overview
Regenerates the repository’s static OpenAPI specification from the gateway’s updated schema definitions, and bumps both TypeScript and Python client package versions to reflect the updated API contract.
Changes:
- Regenerated
spec/openapi.yamlwith updated lock endpoints, new request schemas, and schema fixes (nullable fields, additionalProperties, LogConfiguration constraints). - Updated lock endpoints to document
X-Client-Idheader behavior and changed lock extension responses to204 No Content. - Bumped TypeScript and Python client package versions to
0.1.1.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
spec/openapi.yaml |
Updates the OpenAPI 3.1 spec to match gateway schema fixes and endpoint contract changes. |
clients/typescript/package.json |
Bumps TS client package version to 0.1.1. |
clients/typescript/package-lock.json |
Keeps lockfile in sync with the TS package version bump. |
clients/python/pyproject.toml |
Bumps Python client package version to 0.1.1. |
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.
mfaferek93
approved these changes
Mar 31, 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
Regenerated
spec/openapi.yamlfrom gateway with all schema fixes from selfpatch/ros2_medkit#329. Bumped both client package versions to 0.1.1.Key spec changes
AcquireLockRequest/ExtendLockRequestwith integerlock_expiration,X-Client-Idheader documentedPUT /locks/{id}: 204 No Content (was 200 + Lock)DataWriteRequest,ExecutionUpdateRequest,ScriptControlRequestScriptMetadata.parameters_schemanow nullablex-medkitfields:additionalProperties: truetrigger_condition:additionalProperties: trueLogConfiguration: optional fields,severity_filterenum, boundsTesting
npm run build+ 54 vitest tests pass