Skip to content

Commit

Permalink
move version from Double to String. (#981)
Browse files Browse the repository at this point in the history
Gitlab Security Reports is expecting a string instead of a float
  • Loading branch information
tnijboer authored Mar 28, 2022
1 parent ce21ecb commit bc1d765
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private List<Identifier> getIdentifiers(ScanResults.XIssue issue){
public static class SecurityDashboard {
@JsonProperty("version")
@Builder.Default
public Double version = 2.0;
public String version = "2.0";
@JsonProperty("vulnerabilities")
public List<Vulnerability> vulnerabilities;
@JsonProperty("remediations")
Expand Down

0 comments on commit bc1d765

Please sign in to comment.