feat: update OpenAPI spec and TypeScript types for execution overlay

Add iteration fields (loopIndex, loopSize, splitIndex, splitSize,
multicastIndex) to ProcessorNode schema. Add new endpoint path
/executions/{executionId}/processors/by-id/{processorId}/snapshot.
Remove stale diagramNodeId field that was dropped in V6 migration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-27 18:38:09 +01:00
parent cf6c4bd60c
commit 3928743ea7
2 changed files with 137 additions and 4 deletions

View File

@@ -2359,6 +2359,61 @@
}
}
},
"/executions/{executionId}/processors/by-id/{processorId}/snapshot": {
"get": {
"tags": [
"Detail"
],
"summary": "Get exchange snapshot for a processor by processorId",
"operationId": "getProcessorSnapshotById",
"parameters": [
{
"name": "executionId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "processorId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Snapshot data",
"content": {
"*/*": {
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
},
"404": {
"description": "Snapshot not found",
"content": {
"*/*": {
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
},
"/diagrams": {
"get": {
"tags": [
@@ -4588,8 +4643,25 @@
"type": "integer",
"format": "int64"
},
"diagramNodeId": {
"type": "string"
"loopIndex": {
"type": "integer",
"format": "int32"
},
"loopSize": {
"type": "integer",
"format": "int32"
},
"splitIndex": {
"type": "integer",
"format": "int32"
},
"splitSize": {
"type": "integer",
"format": "int32"
},
"multicastIndex": {
"type": "integer",
"format": "int32"
},
"errorMessage": {
"type": "string"
@@ -4613,7 +4685,6 @@
"required": [
"attributes",
"children",
"diagramNodeId",
"durationMs",
"endTime",
"errorMessage",

View File

@@ -735,6 +735,23 @@ export interface paths {
patch?: never;
trace?: never;
};
"/executions/{executionId}/processors/by-id/{processorId}/snapshot": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get exchange snapshot for a processor by processorId */
get: operations["getProcessorSnapshotById"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/diagrams": {
parameters: {
query?: never;
@@ -1620,7 +1637,16 @@ export interface components {
endTime: string;
/** Format: int64 */
durationMs: number;
diagramNodeId: string;
/** Format: int32 */
loopIndex?: number;
/** Format: int32 */
loopSize?: number;
/** Format: int32 */
splitIndex?: number;
/** Format: int32 */
splitSize?: number;
/** Format: int32 */
multicastIndex?: number;
errorMessage: string;
errorStackTrace: string;
attributes: {
@@ -3637,6 +3663,42 @@ export interface operations {
};
};
};
getProcessorSnapshotById: {
parameters: {
query?: never;
header?: never;
path: {
executionId: string;
processorId: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Snapshot data */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": {
[key: string]: string;
};
};
};
/** @description Snapshot not found */
404: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": {
[key: string]: string;
};
};
};
};
};
findByApplicationAndRoute: {
parameters: {
query: {