Skip to content

fix: regenerate oapi.go to include two-tier cache fields#78

Merged
hiroTamada merged 1 commit intomainfrom
fix/regenerate-oapi
Jan 29, 2026
Merged

fix: regenerate oapi.go to include two-tier cache fields#78
hiroTamada merged 1 commit intomainfrom
fix/regenerate-oapi

Conversation

@hiroTamada
Copy link
Contributor

@hiroTamada hiroTamada commented Jan 29, 2026

Summary

  • Regenerates lib/oapi/oapi.go from openapi.yaml
  • Adds missing GlobalCacheKey and IsAdminBuild fields to CreateBuildMultipartBody

The generated code was not updated when the two-tier cache feature was merged, causing API requests with these fields to fail validation.

Test plan

  • Verify build passes
  • Test creating a build with is_admin_build and global_cache_key fields

Note

Low Risk
Generated OpenAPI client/server types were updated to accept new request fields; risk is low but could affect API validation/serialization for CreateBuild requests if regenerated spec diverges from backend expectations.

Overview
Regenerates lib/oapi/oapi.go from the OpenAPI spec, updating the embedded swaggerSpec blob.

Adds GlobalCacheKey and IsAdminBuild to CreateBuildMultipartBody so multipart CreateBuild requests can include two-tier/global cache parameters and pass request validation.

Written by Cursor Bugbot for commit a43b0fe. This will update automatically on new commits. Configure here.

The generated code was not updated after the two-tier cache feature
was merged. This adds the missing GlobalCacheKey and IsAdminBuild
fields to CreateBuildMultipartBody.
@hiroTamada hiroTamada merged commit f13a410 into main Jan 29, 2026
4 checks passed
@hiroTamada hiroTamada deleted the fix/regenerate-oapi branch January 29, 2026 21:12
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.

2 participants