StephenOTT / STIX-Java

STIX 2.x Java Library
MIT License
28 stars 13 forks source link

Review Redactable annotation usage on Map fields #65

Open StephenOTT opened 5 years ago

StephenOTT commented 5 years ago
    @JsonProperty("hashes") @JsonInclude(NON_EMPTY)
    @Size(min = 1, message = "Must have at least 1 hash value")
    Map<@Length(min = 3, max = 256) @HashingVocab(HashingAlgorithms.class) String, String> getHashes();
StephenOTT commented 5 years ago

example from Autonomous System COO