Skip to content

Commit

Permalink
Update api schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Mar 28, 2023
1 parent f54f382 commit db863a2
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions client/src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ export interface paths {
/** Returns returns an API key for authenticated user based on BaseAuth headers. */
get: operations["get_api_key_api_authenticate_baseauth_get"];
};
"/api/chat": {
/**
* Query
* @description We're off to ask the wizard
*/
post: operations["query_api_chat_post"];
};
"/api/configuration": {
/**
* Return an object containing exposable configuration settings
Expand Down Expand Up @@ -1600,6 +1607,17 @@ export interface components {
*/
type: "change_dbkey";
};
/**
* ChatPayload
* @description Base model definition with common configuration used by all derived models.
*/
ChatPayload: {
/**
* Message
* @description The message to be sent to the chat.
*/
query: string;
};
/**
* CheckForUpdatesResponse
* @description Base model definition with common configuration used by all derived models.
Expand Down Expand Up @@ -7630,6 +7648,31 @@ export interface operations {
};
};
};
query_api_chat_post: {
/**
* Query
* @description We're off to ask the wizard
*/
requestBody: {
content: {
"application/json": components["schemas"]["ChatPayload"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
"application/json": string;
};
};
/** @description Validation Error */
422: {
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
index_api_configuration_get: {
/**
* Return an object containing exposable configuration settings
Expand Down

0 comments on commit db863a2

Please sign in to comment.