oxidecomputer / oxidecomputer/console
Check in CI that API client has been generated properly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
With @oxide/openapi-gen-ts pinned in package.json, you could now theoretically bump the version without regenerating the API client, so the next time someone regenerates, they could get more diff than they intend. We can easily run the generator in CI and fail if there's a diff.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with package.json to find the pinned @oxide/openapi-gen-ts version and the existing API-client generation entry point. Run the generator and inspect the resulting diff, then add a CI check that fails when regeneration changes tracked files. Done means CI detects an out-of-date generated client without requiring unrelated changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, typescript
- Domain
- api, ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100