From f63e6550ee7f6fdab817946de39eeb982e9523ea Mon Sep 17 00:00:00 2001 From: Nicolas Nobelis Date: Thu, 29 Feb 2024 09:27:30 +0100 Subject: [PATCH] fix(fossid-webapp): Add license category property to identified files It seems this property is newly exposed starting with FossID version 23.3. Signed-off-by: Nicolas Nobelis --- .../main/kotlin/model/identification/identifiedFiles/License.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles/License.kt b/clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles/License.kt index 4833cb51b7533..a008d28ea879a 100644 --- a/clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles/License.kt +++ b/clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles/License.kt @@ -20,6 +20,7 @@ package org.ossreviewtoolkit.clients.fossid.model.identification.identifiedFiles import org.ossreviewtoolkit.clients.fossid.model.identification.common.LicenseMatchType +import org.ossreviewtoolkit.clients.fossid.model.result.LicenseCategory data class License( val fileLicenseMatchType: LicenseMatchType, @@ -30,6 +31,7 @@ data class License( val isFoss: Int?, val isOsiApproved: Int?, val isSpdxStandard: Int?, + val category: LicenseCategory? = null, val name: String?, val text: String? = null