Skip to content

Commit

Permalink
Add JsonPropertyOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
re3turn committed Jan 14, 2025
1 parent 51d23d0 commit 4f00eda
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import java.io.Serializable;
import java.util.Objects;
Expand All @@ -12,6 +13,7 @@
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonPropertyOrder({"cvssV3", "cvssV4"})
public class CVSSSeverities implements Serializable {

private static final long serialVersionUID = -6425427956203326377L;
Expand Down

0 comments on commit 4f00eda

Please sign in to comment.