Class SpecVersionDetector


  • public class SpecVersionDetector
    extends Object
    This class is used to detect schema version
    Since:
    25/06/20
    Author:
    Subhajitdas298
    • Constructor Detail

      • SpecVersionDetector

        public SpecVersionDetector()
    • Method Detail

      • detect

        public static SpecVersion.VersionFlag detect​(com.fasterxml.jackson.databind.JsonNode jsonNode)
        Detects schema version based on the schema tag
        Parameters:
        jsonNode - Json Node to read from
        Returns:
        Spec version