Skip to content

Commit a3c7648

Browse files
authored
Add @JsonIgnore to the allResults field in SARIF (#1871)
1 parent 1cae47a commit a3c7648

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utbot-framework/src/main/kotlin/org/utbot/sarif/DataClasses.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ data class Sarif(
4747
.writerWithDefaultPrettyPrinter()
4848
.writeValueAsString(this)
4949

50+
@JsonIgnore
5051
fun getAllResults(): List<SarifResult> =
5152
runs.flatMap { it.results }
5253
}

0 commit comments

Comments
 (0)