Class ComponentReference

java.lang.Object
com.mohamnag.jstatic.plugins.openapi_processor.oas3.ComponentReference

public class ComponentReference extends Object
  • Constructor Details

    • ComponentReference

      public ComponentReference(String ref)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isInternal

      public boolean isInternal()
    • getExternalPath

      public List<String> getExternalPath()
      Returns:
      Path to external part of this reference relative to the spec. Will be empty list if it is an internal reference.
    • getInternalPart

      public ComponentReference getInternalPart()
      Returns:
      a ComponentReference object that contains only the internal part of reference if this is an external reference. If this is internal, self object will be returned.