Class ReferenceUtils

java.lang.Object
io.swagger.v3.parser.reference.ReferenceUtils

public class ReferenceUtils extends Object
  • Constructor Details

    • ReferenceUtils

      public ReferenceUtils()
  • Method Details

    • toBaseURI

      public static String toBaseURI(String uri) throws Exception
      Throws:
      Exception
    • getFragment

      public static String getFragment(String uri) throws Exception
      Throws:
      Exception
    • resolve

      public static String resolve(String uri, String baseURI) throws Exception
      Throws:
      Exception
    • isLocalRef

      public static boolean isLocalRef(String ref)
    • isLocalRefToComponents

      public static boolean isLocalRefToComponents(String ref)
    • isAnchorRef

      public static boolean isAnchorRef(String ref)
    • isAnchor

      public static boolean isAnchor(String ref)
    • unescapePointer

      public static String unescapePointer(String jsonPathElement)
    • jsonPointerEvaluate

      public static com.fasterxml.jackson.databind.JsonNode jsonPointerEvaluate(String fragment, com.fasterxml.jackson.databind.JsonNode tree, String uri)
    • getRefName

      public static String getRefName(String uri)