Class ComponentReference

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

public class ComponentReference extends Object
  • Constructor Details Link icon

    • ComponentReference Link icon

      public ComponentReference(String ref)
  • Method Details Link icon

    • toString Link icon

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

      public boolean isInternal()
    • getExternalPath Link icon

      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 Link icon

      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.