feat(generator): build full SDK generation foundation - #7
Draft
nmorgan-cb wants to merge 13 commits into
Draft
Conversation
🟡 Heimdall Review Status
|
nmorgan-cb
force-pushed
the
toshi/plan-service-generator-upgrade
branch
from
September 2, 2026 17:43
d0671ee to
5e2693d
Compare
This was referenced Sep 2, 2026
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
Co-authored-by: Toshi <toshi-noreply@coinbase.com>
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.
Description
Builds the deterministic, OpenAPI-driven generation foundation for the full Coinbase Prime Java client surface.
Generator implementation included
apiSpec/prime-public-spec.yamlfor normal generation and CI; live fetching is explicit and non-mutating.PrimeServiceFactorydeterministically./v1and per-call/v2routing, service/method aliases,PrimeXM*naming, and existing model transformations.*ErrorCodeand*Subcodeenums intocom.coinbase.prime.model.errors, aligned with the .NET generator architecture.make fetch-spec,make generate,make check-generated, andmake generate-live-diff. Check and live-diff modes render/format only in isolated temporary locations and never mutate the checkout.Tests added
Generation preview performed
.NETPR chore: Fix generation of javadoc comments #3 locally (dotnet test: 60 generator tests and 18 SDK tests) and incorporated its naming/error-enum conventions where compatible with established Java public APIs.Generated SDK baseline intentionally not committed
No regenerated model, DTO, service, factory, error-enum, spec, or manifest artifacts are included in this PR. Generated output will be committed only after the baseline is reviewed.
Remaining follow-up
Review and commit the generated SDK baseline, then enable
make check-generatedas a required CI gate.Generated with Toshi
Type of Change
Checklist