Class OpenAPILocalReference


  • public class OpenAPILocalReference
    extends Object
    Class to encapsulate parts of "$ref" URL. This class can breakdown individual components and return them through respective getters.
    • Method Detail

      • getComponentType

        public OpenAPIComponent getComponentType()
        Getter method for componentType part of "$ref" URL.
        Returns:
        componentType part of "$ref"
      • getSchemaName

        public String getSchemaName()
        Getter method for schemaName part of "$ref" URL.
        Returns:
        schema name part of "$ref"
      • getKeyword

        public String getKeyword()
        Getter method for composed schema keyword part of "$ref" URL. Applicable values are allOf, oneOf, anyOf, not
        Returns:
        composed schema keyword part of "$ref" or null if not applicable.
      • getIndex

        public String getIndex()
        Getter method for index part of "$ref" URL. Points to the specific Schema within a List of schemas as part of ComposedSchema
        Returns:
        index part of "$ref" or null if not applicable.