Class ApiDescription


  • public final class ApiDescription
    extends Object
    Class that represents the ApiDescription type in API descriptor.
    • Method Detail

      • getId

        public String getId()
        Getter of id.
        Returns:
        id
      • getVersion

        public String getVersion()
        Getter of version.
        Returns:
        The version.
      • getDescription

        public LocalizableString getDescription()
        Gets description of API Descriptor.
        Returns:
        Description of API Descriptor
      • getDefinitions

        public Definitions getDefinitions()
        Getter of definitions.
        Returns:
        Definitions map
      • getServices

        public Services getServices()
        Getter of services.
        Returns:
        Services map
      • getErrors

        public Errors getErrors()
        Getter of errors.
        Returns:
        Errors map
      • getPaths

        public Paths getPaths()
        Getter of paths.
        Returns:
        Paths
      • apiDescription

        public static ApiDescription.Builder apiDescription()
        Create a new Builder for ApiDescription.
        Returns:
        Builder
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object