public class AkkaScalaClientCodegen extends DefaultCodegen implements CodegenConfig
Modifier and Type | Field and Description |
---|---|
protected String |
artifactId |
protected String |
artifactVersion |
protected String |
configKey |
protected String |
configKeyPath |
protected int |
defaultTimeoutInMs |
protected String |
groupId |
protected String |
invokerPackage |
protected String |
mainPackage |
protected boolean |
onlyOneSuccess
If set to true, only the default response (the one with le lowest 2XX code) will be considered as a success, and all
others as ApiErrors.
|
protected boolean |
registerNonStandardStatusCodes |
protected boolean |
removeOAuthSecurities |
protected boolean |
renderJavadoc |
protected String |
resourcesFolder |
protected String |
sourceFolder |
additionalProperties, apiPackage, apiTemplateFiles, cliOptions, defaultIncludes, fileSuffix, importMapping, instantiationTypes, languageSpecificPrimitives, library, modelPackage, modelTemplateFiles, outputFolder, reservedWords, skipOverwrite, sortParamsByRequiredFlag, supportedLibraries, supportingFiles, supportsInheritance, templateDir, typeMapping
Constructor and Description |
---|
AkkaScalaClientCodegen() |
Modifier and Type | Method and Description |
---|---|
String |
apiFileFolder() |
String |
escapeReservedWord(String name) |
List<CodegenSecurity> |
fromSecurity(Map<String,io.swagger.models.auth.SecuritySchemeDefinition> schemes) |
String |
getHelp() |
String |
getName() |
String |
getSwaggerType(io.swagger.models.properties.Property p)
returns the swagger type for the property
|
CodegenType |
getTag() |
String |
getTypeDeclaration(io.swagger.models.properties.Property p) |
String |
modelFileFolder() |
Map<String,Object> |
postProcessOperations(Map<String,Object> objs) |
String |
toDefaultValue(io.swagger.models.properties.Property p) |
String |
toEnumName(CodegenProperty property) |
String |
toInstantiationType(io.swagger.models.properties.Property p) |
String |
toOperationId(String operationId) |
String |
toParamName(String name) |
String |
toVarName(String name) |
additionalProperties, addOperationToGroup, apiFilename, apiPackage, apiTemplateFiles, buildLibraryCliOption, camelize, camelize, cliOptions, defaultIncludes, escapeText, fileSuffix, fromModel, fromModel, fromOperation, fromOperation, fromParameter, fromProperty, fromResponse, generateExamplePath, getLibrary, getOutputDir, getterAndSetterCapitalize, getTypeDeclaration, importMapping, initialCaps, instantiationTypes, isSkipOverwrite, languageSpecificPrimitives, modelPackage, modelTemplateFiles, needToImport, outputFolder, postProcessModels, postProcessSupportingFileData, preprocessSwagger, processOpts, processSwagger, removeNonNameElementToCamelCase, reservedWords, sanitizeName, setApiPackage, setLibrary, setModelPackage, setNonArrayMapProperty, setOutputDir, setSkipOverwrite, setSortParamsByRequiredFlag, setTemplateDir, shouldOverwrite, snakeCase, supportedLibraries, supportingFiles, templateDir, toApiFilename, toApiImport, toApiName, toApiVarName, toExamples, toModelFilename, toModelImport, toModelName, typeMapping, underscore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalProperties, addOperationToGroup, apiFilename, apiPackage, apiTemplateFiles, cliOptions, defaultIncludes, escapeText, fileSuffix, fromModel, fromModel, fromOperation, fromOperation, generateExamplePath, getLibrary, getOutputDir, getTypeDeclaration, importMapping, instantiationTypes, isSkipOverwrite, languageSpecificPrimitives, modelPackage, modelTemplateFiles, outputFolder, postProcessModels, postProcessSupportingFileData, preprocessSwagger, processOpts, processSwagger, reservedWords, setLibrary, setOutputDir, setSkipOverwrite, shouldOverwrite, supportedLibraries, supportingFiles, templateDir, toApiFilename, toApiImport, toApiName, toApiVarName, toModelFilename, toModelImport, toModelName, typeMapping
protected String mainPackage
protected String invokerPackage
protected String groupId
protected String artifactId
protected String artifactVersion
protected String sourceFolder
protected String resourcesFolder
protected String configKey
protected int defaultTimeoutInMs
protected String configKeyPath
protected boolean registerNonStandardStatusCodes
protected boolean renderJavadoc
protected boolean removeOAuthSecurities
protected boolean onlyOneSuccess
public CodegenType getTag()
getTag
in interface CodegenConfig
public String getName()
getName
in interface CodegenConfig
public String getHelp()
getHelp
in interface CodegenConfig
public String escapeReservedWord(String name)
escapeReservedWord
in interface CodegenConfig
escapeReservedWord
in class DefaultCodegen
public String apiFileFolder()
apiFileFolder
in interface CodegenConfig
apiFileFolder
in class DefaultCodegen
public String modelFileFolder()
modelFileFolder
in interface CodegenConfig
modelFileFolder
in class DefaultCodegen
public Map<String,Object> postProcessOperations(Map<String,Object> objs)
postProcessOperations
in interface CodegenConfig
postProcessOperations
in class DefaultCodegen
public String getTypeDeclaration(io.swagger.models.properties.Property p)
getTypeDeclaration
in interface CodegenConfig
getTypeDeclaration
in class DefaultCodegen
public List<CodegenSecurity> fromSecurity(Map<String,io.swagger.models.auth.SecuritySchemeDefinition> schemes)
fromSecurity
in interface CodegenConfig
fromSecurity
in class DefaultCodegen
public String toOperationId(String operationId)
toOperationId
in class DefaultCodegen
public String toParamName(String name)
toParamName
in interface CodegenConfig
toParamName
in class DefaultCodegen
public String toVarName(String name)
toVarName
in class DefaultCodegen
public String toEnumName(CodegenProperty property)
toEnumName
in class DefaultCodegen
public String getSwaggerType(io.swagger.models.properties.Property p)
DefaultCodegen
getSwaggerType
in class DefaultCodegen
public String toInstantiationType(io.swagger.models.properties.Property p)
toInstantiationType
in class DefaultCodegen
public String toDefaultValue(io.swagger.models.properties.Property p)
toDefaultValue
in class DefaultCodegen
Copyright © 2015. All Rights Reserved.