diff --git a/api/upstream-openapi.json b/api/upstream-openapi.json index 75ee6c1..90363fb 100644 --- a/api/upstream-openapi.json +++ b/api/upstream-openapi.json @@ -4230,7 +4230,7 @@ "processing": { "anyOf": [ { - "$ref": "#/components/schemas/ProcessingStatus" + "$ref": "#/components/schemas/opi__api__task_models__ProcessingStatus" }, { "type": "null" @@ -4353,7 +4353,7 @@ "processing": { "anyOf": [ { - "$ref": "#/components/schemas/ProcessingStatus" + "$ref": "#/components/schemas/opi__api__task_models__ProcessingStatus" }, { "type": "null" @@ -4559,7 +4559,7 @@ "processing": { "anyOf": [ { - "$ref": "#/components/schemas/ProcessingStatus" + "$ref": "#/components/schemas/opi__api__task_models__ProcessingStatus" }, { "type": "null" @@ -5108,7 +5108,7 @@ "properties": { "file": { "type": "string", - "format": "binary", + "contentMediaType": "application/octet-stream", "title": "File" } }, @@ -6261,50 +6261,6 @@ "title": "DeploymentBackupResponse", "description": "Response for combined deployment backup operations (PVCs, databases, buckets)." }, - "DeploymentInfo": { - "properties": { - "name": { - "type": "string", - "title": "Name", - "description": "Deployment name", - "example": "main" - }, - "project": { - "type": "string", - "title": "Project", - "description": "Project name", - "example": "myproject" - }, - "components": { - "items": { - "$ref": "#/components/schemas/ComponentReference" - }, - "type": "array", - "title": "Components", - "description": "Components in this deployment" - }, - "forceClone": { - "type": "boolean", - "title": "Forceclone", - "description": "Whether force clone was used" - }, - "created": { - "type": "boolean", - "title": "Created", - "description": "True if deployment was newly created, False if updated" - } - }, - "type": "object", - "required": [ - "name", - "project", - "components", - "forceClone", - "created" - ], - "title": "DeploymentInfo", - "description": "Information about a deployment." - }, "DeploymentRestoreRequest": { "properties": { "resource_type": { @@ -6456,34 +6412,6 @@ "status": "success" } }, - "DeploymentUrls": { - "properties": { - "cluster": { - "type": "string", - "title": "Cluster", - "description": "Cluster where the deployment runs", - "example": "local" - }, - "urls": { - "additionalProperties": { - "type": "string" - }, - "type": "object", - "title": "Urls", - "description": "Component URLs (component name -> public URL)", - "example": { - "frontend": "https://frontend-main-myproject.rig.dev.local" - } - } - }, - "type": "object", - "required": [ - "cluster", - "urls" - ], - "title": "DeploymentUrls", - "description": "URLs for a single deployment." - }, "HTTPValidationError": { "properties": { "detail": { @@ -6608,65 +6536,6 @@ "title": "PVCRestoreDetail", "description": "Details of a single PVC restore within a backup run restore." }, - "ProcessingStatus": { - "properties": { - "status": { - "type": "string", - "title": "Status" - }, - "message": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Message" - }, - "error": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "title": "Error" - }, - "result": { - "anyOf": [ - {}, - { - "type": "null" - } - ], - "title": "Result" - }, - "component_failures": { - "anyOf": [ - { - "items": { - "$ref": "#/components/schemas/ComponentFailureInfo" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "title": "Component Failures" - } - }, - "type": "object", - "required": [ - "status" - ], - "title": "ProcessingStatus", - "description": "Processing step status." - }, "ProjectDeleteRequest": { "properties": { "confirmDeletion": { @@ -6691,25 +6560,6 @@ "force": false } }, - "ProjectInfo": { - "properties": { - "name": { - "type": "string", - "title": "Name" - }, - "file_path": { - "type": "string", - "title": "File Path" - } - }, - "type": "object", - "required": [ - "name", - "file_path" - ], - "title": "ProjectInfo", - "description": "Project identification." - }, "ProjectRestoreRequest": { "properties": { "deployment_name": { @@ -6818,7 +6668,7 @@ "project": { "anyOf": [ { - "$ref": "#/components/schemas/ProjectInfo" + "$ref": "#/components/schemas/opi__api__task_models__ProjectInfo" }, { "type": "null" @@ -6835,7 +6685,7 @@ "processing": { "anyOf": [ { - "$ref": "#/components/schemas/ProcessingStatus" + "$ref": "#/components/schemas/opi__api__task_models__ProcessingStatus" }, { "type": "null" @@ -6870,7 +6720,7 @@ }, "urls": { "additionalProperties": { - "$ref": "#/components/schemas/DeploymentUrls" + "$ref": "#/components/schemas/opi__api__router__DeploymentUrls" }, "type": "object", "title": "Urls", @@ -6941,7 +6791,7 @@ "project": { "anyOf": [ { - "$ref": "#/components/schemas/ProjectInfo" + "$ref": "#/components/schemas/opi__api__task_models__ProjectInfo" }, { "type": "null" @@ -6958,7 +6808,7 @@ "processing": { "anyOf": [ { - "$ref": "#/components/schemas/ProcessingStatus" + "$ref": "#/components/schemas/opi__api__task_models__ProcessingStatus" }, { "type": "null" @@ -8839,12 +8689,12 @@ "example": "Deployment 'main' created successfully" }, "deployment": { - "$ref": "#/components/schemas/DeploymentInfo", + "$ref": "#/components/schemas/opi__api__router__DeploymentInfo", "description": "Deployment information" }, "urls": { "additionalProperties": { - "$ref": "#/components/schemas/DeploymentUrls" + "$ref": "#/components/schemas/opi__api__router__DeploymentUrls" }, "type": "object", "title": "Urls", @@ -8931,7 +8781,7 @@ "processing": { "anyOf": [ { - "$ref": "#/components/schemas/ProcessingStatus" + "$ref": "#/components/schemas/opi__api__task_models__ProcessingStatus" }, { "type": "null" @@ -9016,6 +8866,13 @@ "type": { "type": "string", "title": "Error Type" + }, + "input": { + "title": "Input" + }, + "ctx": { + "type": "object", + "title": "Context" } }, "type": "object", @@ -9026,6 +8883,78 @@ ], "title": "ValidationError" }, + "opi__api__router__DeploymentInfo": { + "properties": { + "name": { + "type": "string", + "title": "Name", + "description": "Deployment name", + "example": "main" + }, + "project": { + "type": "string", + "title": "Project", + "description": "Project name", + "example": "myproject" + }, + "components": { + "items": { + "$ref": "#/components/schemas/ComponentReference" + }, + "type": "array", + "title": "Components", + "description": "Components in this deployment" + }, + "forceClone": { + "type": "boolean", + "title": "Forceclone", + "description": "Whether force clone was used" + }, + "created": { + "type": "boolean", + "title": "Created", + "description": "True if deployment was newly created, False if updated" + } + }, + "type": "object", + "required": [ + "name", + "project", + "components", + "forceClone", + "created" + ], + "title": "DeploymentInfo", + "description": "Information about a deployment." + }, + "opi__api__router__DeploymentUrls": { + "properties": { + "cluster": { + "type": "string", + "title": "Cluster", + "description": "Cluster where the deployment runs", + "example": "local" + }, + "urls": { + "additionalProperties": { + "type": "string" + }, + "type": "object", + "title": "Urls", + "description": "Component URLs (component name -> public URL)", + "example": { + "frontend": "https://frontend-main-myproject.rig.dev.local" + } + } + }, + "type": "object", + "required": [ + "cluster", + "urls" + ], + "title": "DeploymentUrls", + "description": "URLs for a single deployment." + }, "opi__api__router__ProcessingStatus": { "properties": { "status": { @@ -9146,6 +9075,84 @@ ], "title": "DeploymentUrls", "description": "URLs for a single deployment." + }, + "opi__api__task_models__ProcessingStatus": { + "properties": { + "status": { + "type": "string", + "title": "Status" + }, + "message": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Message" + }, + "error": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Error" + }, + "result": { + "anyOf": [ + {}, + { + "type": "null" + } + ], + "title": "Result" + }, + "component_failures": { + "anyOf": [ + { + "items": { + "$ref": "#/components/schemas/ComponentFailureInfo" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "title": "Component Failures" + } + }, + "type": "object", + "required": [ + "status" + ], + "title": "ProcessingStatus", + "description": "Processing step status." + }, + "opi__api__task_models__ProjectInfo": { + "properties": { + "name": { + "type": "string", + "title": "Name" + }, + "file_path": { + "type": "string", + "title": "File Path" + } + }, + "type": "object", + "required": [ + "name", + "file_path" + ], + "title": "ProjectInfo", + "description": "Project identification." } }, "securitySchemes": {