Skip to content

Commit

Permalink
feat: added PreferLiquidDexes to openapi (#19)
Browse files Browse the repository at this point in the history
* feat: added PreferLiquidDexes to openapi

* new line
  • Loading branch information
ilkamo authored Jul 7, 2024
1 parent 6efe99d commit afa6962
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions jupiter/client.gen.go

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

7 changes: 7 additions & 0 deletions jupiter/openapi/jupiter-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ paths:
- $ref: '#/components/parameters/PlatformFeeBpsParameter'
- $ref: '#/components/parameters/MaxAccountsParameter'
- $ref: '#/components/parameters/MinimizeSlippage'
- $ref: '#/components/parameters/PreferLiquidDexes'
responses:
'200':
description: Successful response
Expand Down Expand Up @@ -499,3 +500,9 @@ components:
in: query
schema:
type: boolean
PreferLiquidDexes:
name: preferLiquidDexes
description: Default is false. Enabling it would only consider markets with high liquidity to reduce slippage.
in: query
schema:
type: boolean

0 comments on commit afa6962

Please sign in to comment.