| Package | Description |
|---|---|
| io.swagger.codegen | |
| io.swagger.codegen.languages | |
| io.swagger.codegen.utils |
| Modifier and Type | Method and Description |
|---|---|
static CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
CodegenConstants.ENUM_PROPERTY_NAMING_TYPE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodegenConstants.ENUM_PROPERTY_NAMING_TYPE[] |
CodegenConstants.ENUM_PROPERTY_NAMING_TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
protected CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
KotlinClientCodegen.enumPropertyNaming |
protected CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
AbstractKotlinCodegen.enumPropertyNaming |
protected CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
AbstractTypeScriptClientCodegen.enumPropertyNaming
Enum variables are PascalCase by default.
|
| Modifier and Type | Method and Description |
|---|---|
CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
AbstractKotlinCodegen.getEnumPropertyNaming() |
CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
AbstractTypeScriptClientCodegen.getEnumPropertyNaming() |
| Modifier and Type | Method and Description |
|---|---|
static CodegenConstants.ENUM_PROPERTY_NAMING_TYPE |
EnumPropertyNamingUtils.parseEnumPropertyNaming(String enumPropertyNamingType) |
| Modifier and Type | Method and Description |
|---|---|
static String |
EnumPropertyNamingUtils.applyEnumPropertyCapitalisation(String value,
CodegenConstants.ENUM_PROPERTY_NAMING_TYPE enumPropertyNaming)
Apply the given
CodegenConstants.ENUM_PROPERTY_NAMING_TYPE to get the correct capitalisation and underscore-usage for an enum name. |
Copyright © 2022. All rights reserved.