Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 480 Bytes

File metadata and controls

16 lines (13 loc) · 480 Bytes

Java

These settings apply only when --java is specified on the command line.

directive:
  - from: ThreatIntelligence.json
    where: $.definitions.ThreatIntelligenceInformation.allOf[1]
    set:
      type: object
    reason: discriminator property is required to be defined in the model
  - from: ThreatIntelligence.json
    where: $.definitions
    transform: $.ThreatIntelligenceInformation.properties = $.ThreatIntelligenceResourceKind.properties