Skip to content

Commit

Permalink
Use 0.1471.0 (#51)
Browse files Browse the repository at this point in the history
* Update swagger.json

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>

* Update dereferenced schemas

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>

* Regenerate the client code

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>

* bump up to 0.1471.0

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>

---------

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
  • Loading branch information
yu-iskw authored Feb 3, 2025
1 parent bfffa23 commit 9bed084
Show file tree
Hide file tree
Showing 393 changed files with 36,522 additions and 22,647 deletions.
21,876 changes: 11,755 additions & 10,121 deletions dev/schemas/rebuilt-swagger.json

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions dev/schemas/split-swagger/components/schemas/AiConversation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"properties": {
"user": {
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string"
}
},
"required": [
"name",
"uuid"
],
"type": "object"
},
"firstMessage": {
"type": "string"
},
"createdFrom": {
"type": "string"
},
"createdAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"format": "date-time"
}
]
},
"threadUuid": {
"type": "string"
}
},
"required": [
"user",
"firstMessage",
"createdFrom",
"createdAt",
"threadUuid"
],
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"allOf": [
{
"$ref": "./AiConversationMessageIncomplete.json"
},
{
"properties": {
"humanScore": {
"type": "number",
"format": "double"
},
"metricQuery": {
"additionalProperties": true,
"type": "object"
},
"filtersOutput": {
"additionalProperties": true,
"type": "object"
},
"vizConfigOutput": {
"additionalProperties": true,
"type": "object"
},
"respondedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"format": "date-time"
}
]
},
"response": {
"type": "string"
}
},
"required": [
"respondedAt",
"response"
],
"type": "object"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"anyOf": [
{
"$ref": "./AiConversationMessageIncomplete.json"
},
{
"$ref": "./AiConversationComplete.json"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"properties": {
"user": {
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string"
}
},
"required": [
"name",
"uuid"
],
"type": "object"
},
"createdAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"format": "date-time"
}
]
},
"message": {
"type": "string"
},
"promptUuid": {
"type": "string"
}
},
"required": [
"user",
"createdAt",
"message",
"promptUuid"
],
"type": "object"
}
64 changes: 64 additions & 0 deletions dev/schemas/split-swagger/components/schemas/AiPrompt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"properties": {
"metricQuery": {
"additionalProperties": true,
"type": "object",
"nullable": true
},
"humanScore": {
"type": "number",
"format": "double",
"nullable": true
},
"vizConfigOutput": {
"additionalProperties": true,
"type": "object",
"nullable": true
},
"filtersOutput": {
"additionalProperties": true,
"type": "object",
"nullable": true
},
"response": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"prompt": {
"type": "string"
},
"createdByUserUuid": {
"type": "string"
},
"threadUuid": {
"type": "string"
},
"promptUuid": {
"type": "string"
},
"projectUuid": {
"type": "string"
},
"organizationUuid": {
"type": "string"
}
},
"required": [
"metricQuery",
"humanScore",
"vizConfigOutput",
"filtersOutput",
"response",
"createdAt",
"prompt",
"createdByUserUuid",
"threadUuid",
"promptUuid",
"projectUuid",
"organizationUuid"
],
"type": "object"
}
18 changes: 18 additions & 0 deletions dev/schemas/split-swagger/components/schemas/AiWebAppPrompt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"allOf": [
{
"$ref": "./AiPrompt.json"
},
{
"properties": {
"userUuid": {
"type": "string"
}
},
"required": [
"userUuid"
],
"type": "object"
}
]
}
3 changes: 3 additions & 0 deletions dev/schemas/split-swagger/components/schemas/AnyType.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"description": "This AnyType is an alias for any\nThe goal is to make it easier to identify any type in the codebase\nwithout having to eslint-disable all the time\nThese are only used on legacy `any` types, don't use it for new types.\nThis is added on a separate file to avoid circular dependencies."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"properties": {
"results": {
"items": {
"$ref": "./AiConversationMessage.json"
},
"type": "array"
},
"status": {
"type": "string",
"enum": [
"ok"
],
"nullable": false
}
},
"required": [
"results",
"status"
],
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"properties": {
"results": {
"properties": {
"rows": {
"items": {
"$ref": "./Record_string.AnyType_.json"
},
"type": "array"
},
"prompt": {
"$ref": "./AiWebAppPrompt.json"
}
},
"required": [
"prompt"
],
"type": "object"
},
"status": {
"type": "string",
"enum": [
"ok"
],
"nullable": false
}
},
"required": [
"results",
"status"
],
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"properties": {
"results": {
"items": {
"$ref": "./AiConversation.json"
},
"type": "array"
},
"status": {
"type": "string",
"enum": [
"ok"
],
"nullable": false
}
},
"required": [
"results",
"status"
],
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"properties": {
"results": {
"$ref": "./DashboardSummary.json"
},
"status": {
"type": "string",
"enum": [
"ok"
],
"nullable": false
}
},
"required": [
"results",
"status"
],
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"properties": {
"results": {
"$ref": "./DashboardSummary.json"
},
"status": {
"type": "string",
"enum": [
"ok"
],
"nullable": false
}
},
"required": [
"results",
"status"
],
"type": "object"
}
Loading

0 comments on commit 9bed084

Please sign in to comment.