Skip to content

Commit f63e655

Browse files
nnobelissschuberth
authored andcommitted
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 <[email protected]>
1 parent 6a97e85 commit f63e655

File tree

1 file changed

+2
-0
lines changed
  • clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles

1 file changed

+2
-0
lines changed

clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles/License.kt

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
package org.ossreviewtoolkit.clients.fossid.model.identification.identifiedFiles
2121

2222
import org.ossreviewtoolkit.clients.fossid.model.identification.common.LicenseMatchType
23+
import org.ossreviewtoolkit.clients.fossid.model.result.LicenseCategory
2324

2425
data class License(
2526
val fileLicenseMatchType: LicenseMatchType,
@@ -30,6 +31,7 @@ data class License(
3031
val isFoss: Int?,
3132
val isOsiApproved: Int?,
3233
val isSpdxStandard: Int?,
34+
val category: LicenseCategory? = null,
3335

3436
val name: String?,
3537
val text: String? = null

0 commit comments

Comments
 (0)