feat(generator): restore model-generator and regenerate models from OpenAPI#2
Open
nmorgan-cb wants to merge 5 commits into
Open
feat(generator): restore model-generator and regenerate models from OpenAPI#2nmorgan-cb wants to merge 5 commits into
nmorgan-cb wants to merge 5 commits into
Conversation
🟡 Heimdall Review Status
|
bb04c87 to
2be2732
Compare
cfluke-cb
previously approved these changes
Jun 8, 2026
Reintroduce tools/model-generator with OpenAPI Generator templates, spec fetch, and post-processing for model and enum output under src/main/java. Co-authored-by: Cursor <cursoragent@cursor.com>
Update the committed Prime REST API spec to match the current public OpenAPI document. Co-authored-by: Cursor <cursoragent@cursor.com>
Regenerate model/ and model/enums/ from the refreshed spec, including new cross-margin and staking types and XM naming alignment. Co-authored-by: Cursor <cursoragent@cursor.com>
Add staking metadata and validator provider fields, remove deprecated service aliases, and delete unused legacy request/response types superseded by canonical names. Co-authored-by: Cursor <cursoragent@cursor.com>
Document customer-facing model, request, and removal changes for the OpenAPI sync release. Co-authored-by: Cursor <cursoragent@cursor.com>
c848c52 to
b6a5ed9
Compare
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
Restores
tools/model-generatoras the authoritative source formodel/andmodel/enums/, then regenerates the SDK from the latest live OpenAPI spec.Review order (3 commits):
feat(generator): restore model-generator for OpenAPI-driven models— tooling onlychore(spec): refresh prime-public-spec.yaml from live OpenAPI— spec diffchore(models): regenerate models and enums from OpenAPI spec— generated outputGenerator highlights
SpecFetcher) before generation@JsonPropertytrimming, copyright year preservationEnumJavadocEnhancerfor enum docs from spec bullet listsModel regen highlights
TravelRuleEntry,Vasp, etc.)Request/Response/Service generation is out of scope — follow-up PR.
Type of Change
Checklist
Test plan
cd tools/model-generator && mvn -Pgeneratemvn spotless:apply && mvn testMade with Cursor