chore: sync smartem-decisions OpenAPI spec to latest main#190
Merged
vredchenko merged 1 commit intomainfrom Apr 18, 2026
Merged
chore: sync smartem-decisions OpenAPI spec to latest main#190vredchenko merged 1 commit intomainfrom
vredchenko merged 1 commit intomainfrom
Conversation
Regenerated from smartem-decisions@2c75a79 (fix: populate ATLAS_CREATED event id from atlas_id, not name). The checked-in spec had been frozen at 0.1.dev276+g1b7ed28d6.d20250818 (August 2025) because there is no automation wired up between backend releases and this copy. Eight months of endpoint and schema additions were invisible to every consumer that pulls this file — the frontend's Orval client regen (npm run api:update in packages/api) among them. Delta vs previous spec: Paths: 25 -> 58 (+33 added, 0 removed) Schemas: 30 -> 51 (+21 added, 0 removed) No path or schema removals, so this is an additive-only sync; existing generated clients will not break on regeneration. This is the one-shot catch-up. Automation of future regeneration is tracked separately (smartem-decisions#253); that work will land a GitHub Actions workflow that keeps this file in sync on every stable smartem-decisions release.
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
One-shot regeneration of `docs/api/smartem/swagger.json` from smartem-decisions main. Relates to smartem-decisions#253.
The checked-in spec had been frozen at `0.1.dev276+g1b7ed28d6.d20250818` (August 2025) because there is no automation wired up between backend releases and this copy. Eight months of endpoint and schema additions have been invisible to every consumer that pulls this file — the frontend's Orval client regen (`npm run api:update` in `packages/api`) among them.
Regenerated from smartem-decisions@`2c75a79` (fix: populate ATLAS_CREATED event id from atlas_id, not name), which includes all of the recent work:
Delta
Zero removals — this is an additive-only sync, so existing generated clients will not break on regeneration.
New path families
New schema highlights
`GridSquareBatchCreateRequest`, `GridSquareBatchCreateResponse`, `MotionCorrectionRequest`, `CtfEstimationRequest`, `ProcessingFeedbackPublishResponse`, `AgentInstructionAcknowledgement`, `AgentInstructionAcknowledgementResponse`, various quality/prediction models and responses.
Generation command
```
SKIP_DB_INIT=true uv run python -c "
import logging, json, pathlib
logging.disable(logging.CRITICAL)
import smartem_backend.api_server as s
pathlib.Path('docs/api/smartem/swagger.json').write_text(
json.dumps(s.app.openapi(), indent=2, sort_keys=True) + '\n'
)
"
```
(Run from a smartem-decisions checkout at the desired commit. Uses `sort_keys=True` to match the existing file's sorted-key convention, so future diffs stay readable.)
Test plan
Next step
Automating this sync via a GitHub Actions workflow (part of smartem-decisions#253) will be a follow-up PR. Intent to open it for discussion before implementation.