Skip to content

chore: regenerate SDK from pre-rc.9 spec#63

Merged
brandonrc merged 2 commits intomainfrom
chore/regenerate-sdk-rc9
Mar 20, 2026
Merged

chore: regenerate SDK from pre-rc.9 spec#63
brandonrc merged 2 commits intomainfrom
chore/regenerate-sdk-rc9

Conversation

@brandonrc
Copy link
Contributor

Summary

Regenerates the Rust SDK from the latest OpenAPI spec (synced from backend
pre v1.1.0-rc.9). Updates CreateRepositoryRequest to include new optional
fields added since rc.7.

SDK changes:

  • RepositoryResponse now includes upstream_url
  • New SystemConfigResponse schema
  • Health check includes LDAP status
  • Upstream auth endpoints and types
  • Virtual member improvements
  • max_upload_size_bytes configuration

Test Checklist

  • cargo check passes
  • SDK regenerated via cargo run -p xtask -- generate

Regenerated SDK from the latest OpenAPI spec which includes:
- Package curation endpoints (12 new methods)
- Artifact content viewing endpoint
- Stale peer detection and sync retry endpoints

Fixed compilation errors from new/changed fields:
- CleanupRequest: added cleanup_stale_uploads field
- ReindexResponse: updated to use message+status (was artifacts_indexed+repositories_indexed)
- CreateRepositoryRequest: added format_key and index_upstream_url fields
Regenerated from the latest OpenAPI spec which adds upstream_url on
RepositoryResponse, SystemConfigResponse, LDAP health check fields,
and upstream auth endpoints. Updated CreateRepositoryRequest usage
to include new optional fields.
@brandonrc brandonrc merged commit a797029 into main Mar 20, 2026
8 of 9 checks passed
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.

1 participant