Skip to content

Commit

Permalink
Update OpenAPI schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kiln-bot committed Nov 7, 2024
1 parent 292dd04 commit 48fde33
Showing 1 changed file with 99 additions and 8 deletions.
107 changes: 99 additions & 8 deletions src/openapi/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5140,6 +5140,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/v1/kava/balance": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Get balance
* @description Get balance of a Kava account
*/
post: operations["postKavaGetBalance"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/kava/transaction/stake": {
parameters: {
query?: never;
Expand Down Expand Up @@ -25079,6 +25099,18 @@ export interface components {
* }
*/
KAVATxDecoding: Record<string, never>;
KAVAGetBalancePayload: {
/**
* @description Wallet address
* @example fetch1djqecw6nn5tydxq0shan7srv8j65clsf7vypl6
*/
address: string;
/**
* @description The denomination of the balance to query
* @example ukava
*/
denom: string;
};
FETStake: {
/**
* @description Public key of the validator
Expand Down Expand Up @@ -40027,7 +40059,7 @@ export interface operations {
};
responses: {
/** @description Successful operation */
201: {
200: {
headers: {
[name: string]: unknown;
};
Expand Down Expand Up @@ -41592,13 +41624,13 @@ export interface operations {
};
responses: {
/** @description Successful operation */
201: {
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json; charset=utf-8": {
data?: {
data: {
/**
* @description The balance of the account
* @example 1000000
Expand Down Expand Up @@ -42342,6 +42374,65 @@ export interface operations {
};
};
};
postKavaGetBalance: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** @description Account to query */
requestBody: {
content: {
"application/json; charset=utf-8": components["schemas"]["KAVAGetBalancePayload"];
};
};
responses: {
/** @description Successful operation */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json; charset=utf-8": {
data: {
/**
* @description The balance of the account
* @example 1000000
*/
amount: string;
/**
* @description The denomination of the balance
* @example ukava
*/
denom: string;
};
};
};
};
/** @description Invalid parameters */
400: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Unauthorized */
401: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Internal server error */
500: {
headers: {
[name: string]: unknown;
};
content?: never;
};
};
};
postKavaStakeTx: {
parameters: {
query?: never;
Expand Down Expand Up @@ -43063,13 +43154,13 @@ export interface operations {
};
responses: {
/** @description Successful operation */
201: {
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json; charset=utf-8": {
data?: {
data: {
/**
* @description The balance of the account
* @example 1000000
Expand Down Expand Up @@ -44548,7 +44639,7 @@ export interface operations {
};
responses: {
/** @description Successful operation */
201: {
200: {
headers: {
[name: string]: unknown;
};
Expand Down Expand Up @@ -45127,13 +45218,13 @@ export interface operations {
};
responses: {
/** @description Successful operation */
201: {
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json; charset=utf-8": {
data?: {
data: {
/**
* @description The balance of the account
* @example 1000000
Expand Down

0 comments on commit 48fde33

Please sign in to comment.