diff --git a/docs.json b/docs.json index 78015604..bdb69157 100644 --- a/docs.json +++ b/docs.json @@ -17,6 +17,12 @@ "background": { "decoration": "gradient" }, + "api": { + "playground": { + "display": "interactive", + "prefill": true + } + }, "navigation": { "tabs": [ { diff --git a/openapi-spec/lend/lend.yaml b/openapi-spec/lend/lend.yaml index 337aee16..4be85bbc 100644 --- a/openapi-spec/lend/lend.yaml +++ b/openapi-spec/lend/lend.yaml @@ -239,10 +239,13 @@ components: properties: asset: type: string + default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" signer: type: string + default: "vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5" amount: type: string + default: "5" example: asset: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" signer: "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf" @@ -257,10 +260,13 @@ components: properties: asset: type: string + default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" signer: type: string + default: "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf" shares: type: string + default: "1000000" example: asset: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" signer: "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf" diff --git a/openapi-spec/trigger/trigger.yaml b/openapi-spec/trigger/trigger.yaml index d66a1642..66750db1 100644 --- a/openapi-spec/trigger/trigger.yaml +++ b/openapi-spec/trigger/trigger.yaml @@ -35,6 +35,7 @@ paths: properties: maker: type: string + default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3" computeUnitPrice: type: string default: auto @@ -54,7 +55,9 @@ paths: orders: - 6fe8ByaiFHisjnYnH5qdpyiNtkn89mMBQUemRkVmKhro - 9jwzPKHxcrSozdrTYzPnTqy7psRvNGxaYUAiiyxwZKjj - computeUnitPrice: auto + computeUnitPrice: + type: string + default: auto responses: '200': description: | @@ -152,21 +155,27 @@ paths: properties: inputMint: type: string + default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" outputMint: type: string + default: "So11111111111111111111111111111111111111112" maker: type: string + default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3" payer: type: string + default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3" params: type: object properties: makingAmount: type: string description: Amount of input mint to swap + default: "100000000" takingAmount: type: string description: Amount of output mint to receive + default: "50000000" expiredAt: type: string slippageBps: @@ -307,8 +316,10 @@ paths: properties: maker: type: string + default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3" order: type: string + default: "6fe8ByaiFHisjnYnH5qdpyiNtkn89mMBQUemRkVmKhro" computeUnitPrice: type: string default: auto diff --git a/openapi-spec/ultra/ultra.yaml b/openapi-spec/ultra/ultra.yaml index b4abb3ab..636c1d13 100644 --- a/openapi-spec/ultra/ultra.yaml +++ b/openapi-spec/ultra/ultra.yaml @@ -107,14 +107,14 @@ paths: - If no additional referral params are passed in, the fee will be the Ultra default fee only and can include additional fees for gasless support mechanism platformFee: type: object + description: | + - This field shows the platform fee only, does not include fee for gas + - Platform fee can either be the Ultra default fee or your integrator fee properties: amount: type: string feeBps: - type: number - description: | - - This field shows the platform fee only, does not include fee for gas - - Platform fee can either be the Ultra default fee or your integrator fee + type: number required: - feeBps signatureFeeLamports: @@ -252,21 +252,25 @@ paths: name: inputMint schema: type: string + default: "So11111111111111111111111111111111111111112" required: true - in: query name: outputMint schema: type: string + default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" required: true - in: query name: amount schema: type: string + default: "10000000" required: true - in: query name: taker schema: type: string + default: "vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5" required: false - in: query name: payer @@ -323,13 +327,7 @@ paths: - **Only include** Meteora DLMM: `excludeRouters=` and `excludeDexes=` schema: type: string - - in: query - name: payer - description: | - - The address of an external gas payer to pay for the network fees and rent on behalf of the taker - schema: - type: string - required: false + /execute: post: summary: execute @@ -502,6 +500,7 @@ paths: parameters: - schema: type: string + default: "vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5" in: path name: address required: true @@ -616,6 +615,7 @@ paths: name: mints schema: type: string + default: "So11111111111111111111111111111111111111112,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" required: true description: | - Comma separated list of mints to get information for @@ -689,6 +689,7 @@ paths: name: query schema: type: string + default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" required: true description: | - Search for a token and its information by its symbol, name or mint address