Skip to content

Commit

Permalink
fix(fossid-webapp): Add license category property to identified files
Browse files Browse the repository at this point in the history
It seems this property is newly exposed starting with FossID version 23.3.

Signed-off-by: Nicolas Nobelis <[email protected]>
  • Loading branch information
nnobelis authored and sschuberth committed Feb 29, 2024
1 parent 6a97e85 commit f63e655
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit f63e655

Please sign in to comment.