Package software.amazon.smithy.openapi
Enum Class OpenApiConfig.ErrorStatusConflictHandlingStrategy
java.lang.Object
java.lang.Enum<OpenApiConfig.ErrorStatusConflictHandlingStrategy>
software.amazon.smithy.openapi.OpenApiConfig.ErrorStatusConflictHandlingStrategy
- All Implemented Interfaces:
Serializable
,Comparable<OpenApiConfig.ErrorStatusConflictHandlingStrategy>
,Constable
- Enclosing class:
- OpenApiConfig
public static enum OpenApiConfig.ErrorStatusConflictHandlingStrategy
extends Enum<OpenApiConfig.ErrorStatusConflictHandlingStrategy>
Specifies how to resolve multiple error responses with same error codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe default setting that uses OpenAPI's oneOf keyword to combine multiple schemas for same media type. -
Method Summary
-
Enum Constant Details
-
ONE_OF
The default setting that uses OpenAPI's oneOf keyword to combine multiple schemas for same media type.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<OpenApiConfig.ErrorStatusConflictHandlingStrategy>
-