diff --git a/src/Altinn.App.Api/Altinn.App.Api.csproj b/src/Altinn.App.Api/Altinn.App.Api.csproj index 483bfd035..2eb16f505 100644 --- a/src/Altinn.App.Api/Altinn.App.Api.csproj +++ b/src/Altinn.App.Api/Altinn.App.Api.csproj @@ -16,7 +16,7 @@ - + diff --git a/src/Altinn.App.Core/Altinn.App.Core.csproj b/src/Altinn.App.Core/Altinn.App.Core.csproj index 1181f2e07..0f8a74b30 100644 --- a/src/Altinn.App.Core/Altinn.App.Core.csproj +++ b/src/Altinn.App.Core/Altinn.App.Core.csproj @@ -15,7 +15,7 @@ - + diff --git a/test/Altinn.App.Api.Tests/Altinn.App.Api.Tests.csproj b/test/Altinn.App.Api.Tests/Altinn.App.Api.Tests.csproj index 9fec1f441..cf8a4a42b 100644 --- a/test/Altinn.App.Api.Tests/Altinn.App.Api.Tests.csproj +++ b/test/Altinn.App.Api.Tests/Altinn.App.Api.Tests.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/test/Altinn.App.Api.Tests/OpenApi/swagger.json b/test/Altinn.App.Api.Tests/OpenApi/swagger.json index badb23eb8..4779a497a 100644 --- a/test/Altinn.App.Api.Tests/OpenApi/swagger.json +++ b/test/Altinn.App.Api.Tests/OpenApi/swagger.json @@ -4838,6 +4838,13 @@ }, "nullable": true }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/components/schemas/KeyValueEntry" + }, + "nullable": true + }, "deleteStatus": { "$ref": "#/components/schemas/DeleteStatus" }, @@ -5078,6 +5085,13 @@ }, "nullable": true }, + "metadata": { + "type": "array", + "items": { + "$ref": "#/components/schemas/KeyValueEntry" + }, + "nullable": true + }, "deleteStatus": { "$ref": "#/components/schemas/DeleteStatus" }, @@ -5610,6 +5624,20 @@ }, "additionalProperties": false }, + "KeyValueEntry": { + "type": "object", + "properties": { + "key": { + "type": "string", + "nullable": true + }, + "value": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, "Logo": { "type": "object", "properties": { diff --git a/test/Altinn.App.Api.Tests/OpenApi/swagger.yaml b/test/Altinn.App.Api.Tests/OpenApi/swagger.yaml index f6d0e3252..a7e893eca 100644 --- a/test/Altinn.App.Api.Tests/OpenApi/swagger.yaml +++ b/test/Altinn.App.Api.Tests/OpenApi/swagger.yaml @@ -2993,6 +2993,11 @@ components: items: type: string nullable: true + metadata: + type: array + items: + $ref: '#/components/schemas/KeyValueEntry' + nullable: true deleteStatus: $ref: '#/components/schemas/DeleteStatus' fileScanResult: @@ -3168,6 +3173,11 @@ components: items: type: string nullable: true + metadata: + type: array + items: + $ref: '#/components/schemas/KeyValueEntry' + nullable: true deleteStatus: $ref: '#/components/schemas/DeleteStatus' fileScanResult: @@ -3551,6 +3561,16 @@ components: $ref: '#/components/schemas/PatchOperation' nullable: true additionalProperties: false + KeyValueEntry: + type: object + properties: + key: + type: string + nullable: true + value: + type: string + nullable: true + additionalProperties: false Logo: type: object properties: