Skip to content

Commit

Permalink
feat: support simple routing flag in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkamo committed Feb 16, 2025
1 parent 65dda8d commit 4b999d7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
23 changes: 23 additions & 0 deletions jupiter/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions jupiter/openapi/jupiter-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ paths:
- $ref: "#/components/parameters/MinimizeSlippage"
- $ref: "#/components/parameters/PreferLiquidDexes"
- $ref: "#/components/parameters/TokenCategoryBasedIntermediateTokensParameter"
- $ref: "#/components/parameters/PreferSimpleRoutingParameter"
responses:
"200":
description: Successful response
Expand Down Expand Up @@ -208,6 +209,8 @@ components:
type: number
swapUsdValue:
type: string
simplerRouteUsed:
type: boolean
required:
- inputMint
- outputMint
Expand Down Expand Up @@ -597,3 +600,9 @@ components:
in: query
schema:
type: boolean
PreferSimpleRoutingParameter:
name: preferSimpleRouting
description: Default is false. Prefers simpler routing with less splits if the quoted amount is within an acceptable range.
in: query
schema:
type: boolean

0 comments on commit 4b999d7

Please sign in to comment.