Package io.smallrye.openapi.spring
Enum SpringParameter
- All Implemented Interfaces:
Serializable,Comparable<SpringParameter>
Meta information for the Spring Parameter annotations relating them
to the In and Style attributes of Parameters.
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisParameter(org.jboss.jandex.DotName annotationName) static SpringParameterReturns the enum constant of this type with the specified name.static SpringParameter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PATH_PARAM
-
MATRIX_PARAM
-
QUERY_PARAM
-
HEADER_PARAM
-
COOKIE_PARAM
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
isParameter
public static boolean isParameter(org.jboss.jandex.DotName annotationName)
-