diff --git a/src/main/resources/openapi/inventory-import-1.0.yaml b/src/main/resources/openapi/inventory-import-1.0.yaml index 1b7ea300..08712cdb 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. diff --git a/src/test/resources/fixtures/configs/channel.json b/src/test/resources/fixtures/configs/channel.json index 30f3c5ac..58cef408 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 6fd0e763..2b65eb2f 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",