diff --git a/openapi/machine-api.json b/openapi/machine-api.json index caae17f51..8d8208923 100644 --- a/openapi/machine-api.json +++ b/openapi/machine-api.json @@ -79,7 +79,8 @@ "$ref": "#/components/schemas/Result" } ], - "description": "The result of the info command." + "description": "The result of the info command.", + "nullable": true }, "sequence_id": { "allOf": [ @@ -93,7 +94,6 @@ "required": [ "command", "module", - "result", "sequence_id" ], "type": "object" diff --git a/src/lib/machine-api.d.ts b/src/lib/machine-api.d.ts index 24baae054..6d26e238f 100644 --- a/src/lib/machine-api.d.ts +++ b/src/lib/machine-api.d.ts @@ -110,7 +110,7 @@ export interface components { /** @description The reason of the info command. */ reason?: components['schemas']['Reason'] | null /** @description The result of the info command. */ - result: components['schemas']['Result'] + result?: components['schemas']['Result'] | null /** @description The sequence id. */ sequence_id: components['schemas']['SequenceId'] } & {