Enum Class BaseRestPath

java.lang.Object
java.lang.Enum<BaseRestPath>
io.github.astrapi69.spring.rest.BaseRestPath
All Implemented Interfaces:
Serializable, Comparable<BaseRestPath>, Constable

public enum BaseRestPath extends Enum<BaseRestPath>
The enum class BaseRestPath holds constants for the base rest path values
  • Enum Constant Details

    • VERSION_1

      public static final BaseRestPath VERSION_1
      The enum value for the rest path VERSION 1
    • VERSION_1_DOCKET_PATHS_REGEX

      public static final BaseRestPath VERSION_1_DOCKET_PATHS_REGEX
      The enum value for the regex docket path version 1
    • VERSION_2

      public static final BaseRestPath VERSION_2
      The enum value for the rest path VERSION 2
    • VERSION_2_DOCKET_PATHS_REGEX

      public static final BaseRestPath VERSION_2_DOCKET_PATHS_REGEX
      The enum value for the regex docket path version 2
    • VERSION_3

      public static final BaseRestPath VERSION_3
      The enum value for the rest path VERSION 3
    • VERSION_3_DOCKET_PATHS_REGEX

      public static final BaseRestPath VERSION_3_DOCKET_PATHS_REGEX
      The enum value for the regex docket path version 3
    • VERSION_4

      public static final BaseRestPath VERSION_4
      The enum value for the rest path VERSION 4
    • VERSION_4_DOCKET_PATHS_REGEX

      public static final BaseRestPath VERSION_4_DOCKET_PATHS_REGEX
      The enum value for the regex docket path version 4
    • VERSION_5

      public static final BaseRestPath VERSION_5
      The enum value for the rest path VERSION 5
    • VERSION_5_DOCKET_PATHS_REGEX

      public static final BaseRestPath VERSION_5_DOCKET_PATHS_REGEX
      The enum value for the regex docket path version 1
  • Field Details

  • Method Details

    • values

      public static BaseRestPath[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BaseRestPath valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()