From 2a127e8c605655ad827bf21328d2b190a4f258cc Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 22 Jan 2026 16:59:12 +0000 Subject: [PATCH 1/2] Channel type is now an enum (only one value for now, "XML") --- src/main/resources/openapi/inventory-import-1.0.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/openapi/inventory-import-1.0.yaml b/src/main/resources/openapi/inventory-import-1.0.yaml index 7d4b016..ba706a6 100644 --- a/src/main/resources/openapi/inventory-import-1.0.yaml +++ b/src/main/resources/openapi/inventory-import-1.0.yaml @@ -1307,6 +1307,8 @@ components: type: type: string description: Type of import channel, only bulk XML, 'XML', supported. + enum: + - XML enabled: type: boolean description: Set to true to indicate that the channel should be deployed for use. From 3cae436fe6776ac475dc1bc973759a5459eac139 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 22 Jan 2026 17:23:07 +0000 Subject: [PATCH 2/2] Update XML in sample records --- src/test/resources/fixtures/configs/channel.json | 2 +- src/test/resources/fixtures/jobs/importJob.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/fixtures/configs/channel.json b/src/test/resources/fixtures/configs/channel.json index 30f3c5a..58cef40 100644 --- a/src/test/resources/fixtures/configs/channel.json +++ b/src/test/resources/fixtures/configs/channel.json @@ -2,7 +2,7 @@ "id": "c71b4d3a-2030-4f71-8b0a-294ec41fad22", "name": "Channel A", "tag": "channel-a", - "type": "xml", + "type": "XML", "transformationId": "10928a21-89eb-440d-bc37-b9efae2c98a0", "enabled": true, "listening": true diff --git a/src/test/resources/fixtures/jobs/importJob.json b/src/test/resources/fixtures/jobs/importJob.json index 6fd0e76..2b65eb2 100644 --- a/src/test/resources/fixtures/jobs/importJob.json +++ b/src/test/resources/fixtures/jobs/importJob.json @@ -2,7 +2,7 @@ "id" : "42ae09ec-8afd-41dc-b529-ac112a607271", "channelId" : "c71b4d3a-2030-4f71-8b0a-294ec41fad22", "channelName" : "a name", - "importType" : "xml", + "importType" : "XML", "transformation" : "10928a21-89eb-440d-bc37-b9efae2c98a0", "status" : "DONE", "started" : "2025-04-08T18:25:36.807",