Skip to content

Commit

Permalink
fix(VulnerabilityReference): Do not deserialize a lazy property
Browse files Browse the repository at this point in the history
This is a fixup for 8b6fe4f which introduced the `severityRating`
property.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Nov 1, 2023
1 parent b2aebfa commit 0820a7b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package org.ossreviewtoolkit.model.vulnerabilities

import com.fasterxml.jackson.annotation.JsonIgnoreProperties

import java.net.URI

/**
Expand All @@ -30,6 +32,7 @@ import java.net.URI
* with a list of references; each reference points to the source of the information and has some detailed information
* provided by this source.
*/
@JsonIgnoreProperties(value = ["severity_rating"], allowGetters = true)
data class VulnerabilityReference(
/**
* The URI pointing to details of this vulnerability. This can also be used to derive the source of this
Expand Down

0 comments on commit 0820a7b

Please sign in to comment.