Repository navigation
refactor(stablecoins): name the stablecoin operation and fee config enums - #1154
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Contributor
|
shreyav
force-pushed
the
named-enums-cards
branch
from
October 9, 2026 17:01
3908f26 to
32dd409
Compare
shreyav
force-pushed
the
named-enums-stablecoins
branch
from
October 9, 2026 17:01
2913d21 to
547ed7a
Compare
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
JasonCWang
approved these changes
Oct 9, 2026
…nums The type and rail fields on the stablecoin mint and burn source and destination schemas, and RailFeeConfig.direction and .originator, declared their enums inline. Each is now a component schema. The wire format is unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MYijrrgsrFLJZ5fkmC5XwJ
shreyav
force-pushed
the
named-enums-stablecoins
branch
from
October 9, 2026 17:22
547ed7a to
809fba0
Compare
This branch was successfully deployed
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.
Independent of the quote and transaction enum PRs; this one targets
maindirectly. It gives inline enums on the stablecoin and fee config surface a named schema so generated clients emit enum types instead of plain strings.What changed
StablecoinMintFundingSourceBase.type,StablecoinBurnSourceBase.type, andStablecoinBurnDestinationBase.typenow referenceStablecoinMintFundingSourceType,StablecoinBurnSourceType, andStablecoinBurnDestinationType. These three are theoneOfdiscriminators for their families, the same arrangementQuoteSourceTypealready uses, and the single-valuetypeconstants on each subtype are untouched.StablecoinOperationSource.typeandStablecoinOperationDestination.railnow referenceStablecoinOperationSourceTypeandStablecoinOperationDestinationRail.RailFeeConfig.directionandRailFeeConfig.originatornow referenceFeeDirectionandFeeOriginator.openapi.yamlandmintlify/openapi.yamlwithmake build.SDK impact
The wire format is unchanged. In statically typed SDKs these fields change from string to enum, which can require source changes for callers that construct the request or read the field as a string.
Test plan
make lint-openapi: Redocly reports the description valid, Spectral exits 0.oasdiff breakingagainstmain: no breaking changes.🤖 Generated with Claude Code
https://claude.ai/code/session_01MYijrrgsrFLJZ5fkmC5XwJ