public static enum AbstractTypeScriptClientCodegen.ParameterExpander.Location extends Enum<AbstractTypeScriptClientCodegen.ParameterExpander.Location>
See e.g. OpenAPI 3.1 spec: Parameter Locations
| Modifier and Type | Field and Description |
|---|---|
AbstractTypeScriptClientCodegen.ParameterExpander.ParamStyle |
defaultStyle |
BiPredicate<CodegenOperation,CodegenParameter> |
isPresentIn |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultStyle(@Nullable String style) |
static AbstractTypeScriptClientCodegen.ParameterExpander.Location |
fromParam(CodegenOperation op,
CodegenParameter param) |
static AbstractTypeScriptClientCodegen.ParameterExpander.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractTypeScriptClientCodegen.ParameterExpander.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractTypeScriptClientCodegen.ParameterExpander.Location query
public static final AbstractTypeScriptClientCodegen.ParameterExpander.Location header
public static final AbstractTypeScriptClientCodegen.ParameterExpander.Location path
public static final AbstractTypeScriptClientCodegen.ParameterExpander.Location cookie
public final AbstractTypeScriptClientCodegen.ParameterExpander.ParamStyle defaultStyle
public final BiPredicate<CodegenOperation,CodegenParameter> isPresentIn
public static AbstractTypeScriptClientCodegen.ParameterExpander.Location[] values()
for (AbstractTypeScriptClientCodegen.ParameterExpander.Location c : AbstractTypeScriptClientCodegen.ParameterExpander.Location.values()) System.out.println(c);
public static AbstractTypeScriptClientCodegen.ParameterExpander.Location valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AbstractTypeScriptClientCodegen.ParameterExpander.Location fromParam(CodegenOperation op, CodegenParameter param)
Copyright © 2023. All rights reserved.