Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Descript/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down