From c8988b3d854e1fa7ba15e938a80db6913358387d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 May 2026 19:45:49 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Descript.ApiEndpointsClient.AgentEditJob.g.cs | 4 ++-- src/libs/Descript/openapi.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libs/Descript/Generated/Descript.ApiEndpointsClient.AgentEditJob.g.cs b/src/libs/Descript/Generated/Descript.ApiEndpointsClient.AgentEditJob.g.cs index a26c043..2e43e46 100644 --- a/src/libs/Descript/Generated/Descript.ApiEndpointsClient.AgentEditJob.g.cs +++ b/src/libs/Descript/Generated/Descript.ApiEndpointsClient.AgentEditJob.g.cs @@ -365,7 +365,7 @@ partial void ProcessAgentEditJobResponseContent( retryReason: global::System.String.Empty, cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); } - // Invalid input: - Malformed request body - Invalid project_id or composition_id - Empty or invalid prompt + // Invalid input: - Malformed request body - Invalid project_id or composition_id format - Empty or invalid prompt if ((int)__response.StatusCode == 400) { string? __content_400 = null; @@ -479,7 +479,7 @@ partial void ProcessAgentEditJobResponseContent( h => h.Value), }; } - // Not found: - Project doesn't exist - Composition doesn't exist (when composition_id is provided) + // Not found: - Project doesn't exist - Composition doesn't exist in the specified project (when composition_id is provided) if ((int)__response.StatusCode == 404) { string? __content_404 = null; diff --git a/src/libs/Descript/openapi.yaml b/src/libs/Descript/openapi.yaml index c8205b6..8adc795 100644 --- a/src/libs/Descript/openapi.yaml +++ b/src/libs/Descript/openapi.yaml @@ -860,7 +860,7 @@ paths: description: | Invalid input: - Malformed request body - - Invalid project_id or composition_id + - Invalid project_id or composition_id format - Empty or invalid prompt content: application/json: @@ -905,7 +905,7 @@ paths: description: | Not found: - Project doesn't exist - - Composition doesn't exist (when composition_id is provided) + - Composition doesn't exist in the specified project (when composition_id is provided) content: application/json: schema: @@ -917,10 +917,10 @@ paths: error: not_found message: Project not found composition_not_found: - summary: Composition not found + summary: Composition not found in project value: error: not_found - message: Composition not found + message: No composition matching '5b507b2b-e3ef-4146-a0d0-6741df516973' found in project 9f36ee32-5a2c-47e7-b1a3-94991d3e3ddb '429': $ref: '#/components/responses/Error429Response' /jobs/publish: