Class JavaMicronautServerCodegen
- java.lang.Object
-
- org.openapitools.codegen.DefaultCodegen
-
- org.openapitools.codegen.languages.AbstractJavaCodegen
-
- org.openapitools.codegen.languages.JavaMicronautAbstractCodegen
-
- org.openapitools.codegen.languages.JavaMicronautServerCodegen
-
- All Implemented Interfaces:
CodegenConfig,BeanValidationFeatures,DocumentationProviderFeatures,OptionalFeatures
@Deprecated(forRemoval=true) public class JavaMicronautServerCodegen extends JavaMicronautAbstractCodegen
Deprecated, for removal: This API element is subject to removal in a future version.WARNING! This generator is outdated. Please use the official generator for Micronaut: micronaut-openapi with the help of the plugin for Gradle and Maven.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openapitools.codegen.languages.JavaMicronautAbstractCodegen
JavaMicronautAbstractCodegen.SERIALIZATION_LIBRARY_TYPE
-
Nested classes/interfaces inherited from class org.openapitools.codegen.languages.AbstractJavaCodegen
AbstractJavaCodegen.ENUM_PROPERTY_NAMING_TYPE
-
Nested classes/interfaces inherited from interface org.openapitools.codegen.languages.features.DocumentationProviderFeatures
DocumentationProviderFeatures.AnnotationLibrary, DocumentationProviderFeatures.DocumentationProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_ROLEDeprecated, for removal: This API element is subject to removal in a future version.static StringANONYMOUS_ROLE_KEYDeprecated, for removal: This API element is subject to removal in a future version.protected StringapiPrefixDeprecated, for removal: This API element is subject to removal in a future version.protected StringapiSuffixDeprecated, for removal: This API element is subject to removal in a future version.static StringAUTHORIZED_ROLEDeprecated, for removal: This API element is subject to removal in a future version.static StringAUTHORIZED_ROLE_KEYDeprecated, for removal: This API element is subject to removal in a future version.protected StringcontrollerPackageDeprecated, for removal: This API element is subject to removal in a future version.protected StringcontrollerPrefixDeprecated, for removal: This API element is subject to removal in a future version.protected StringcontrollerSuffixDeprecated, for removal: This API element is subject to removal in a future version.static StringDENY_ALL_ROLEDeprecated, for removal: This API element is subject to removal in a future version.static StringDENY_ALL_ROLE_KEYDeprecated, for removal: This API element is subject to removal in a future version.static StringEXTENSION_ROLESDeprecated, for removal: This API element is subject to removal in a future version.protected booleangenerateControllerAsAbstractDeprecated, for removal: This API element is subject to removal in a future version.protected booleangenerateControllerFromExamplesDeprecated, for removal: This API element is subject to removal in a future version.protected booleangenerateOperationsToReturnNotImplementedDeprecated, for removal: This API element is subject to removal in a future version.static StringNAMEDeprecated, for removal: This API element is subject to removal in a future version.static StringOPT_CONTROLLER_PACKAGEDeprecated, for removal: This API element is subject to removal in a future version.static StringOPT_GENERATE_CONTROLLER_AS_ABSTRACTDeprecated, for removal: This API element is subject to removal in a future version.static StringOPT_GENERATE_CONTROLLER_FROM_EXAMPLESDeprecated, for removal: This API element is subject to removal in a future version.static StringOPT_GENERATE_OPERATIONS_TO_RETURN_NOT_IMPLEMENTEDDeprecated, for removal: This API element is subject to removal in a future version.protected booleanuseAuthDeprecated, for removal: This API element is subject to removal in a future version.-
Fields inherited from class org.openapitools.codegen.languages.JavaMicronautAbstractCodegen
appName, buildTool, CONTENT_TYPE_ANY, CONTENT_TYPE_APPLICATION_FORM_URLENCODED, CONTENT_TYPE_APPLICATION_JSON, CONTENT_TYPE_MULTIPART_FORM_DATA, DATE_FORMAT, DATETIME_FORMAT, generateOperationOnlyForFirstTag, generateSwaggerAnnotations, LOGGER, micronautVersion, OFFSET_DATETIME_FORMAT, OPT_APPLICATION_NAME, OPT_BUILD, OPT_BUILD_ALL, OPT_BUILD_GRADLE, OPT_BUILD_MAVEN, OPT_DATE_FORMAT, OPT_DATE_LIBRARY_JAVA8, OPT_DATE_LIBRARY_JAVA8_LOCAL_DATETIME, OPT_DATETIME_FORMAT, OPT_GENERATE_OPERATION_ONLY_FOR_FIRST_TAG, OPT_GENERATE_SWAGGER_ANNOTATIONS, OPT_GENERATE_SWAGGER_ANNOTATIONS_FALSE, OPT_GENERATE_SWAGGER_ANNOTATIONS_SWAGGER_1, OPT_GENERATE_SWAGGER_ANNOTATIONS_SWAGGER_2, OPT_GENERATE_SWAGGER_ANNOTATIONS_TRUE, OPT_MICRONAUT_VERSION, OPT_REACTIVE, OPT_REQUIRED_PROPERTIES_IN_CONSTRUCTOR, OPT_TEST, OPT_TEST_JUNIT, OPT_TEST_SPOCK, OPT_TITLE, OPT_USE_AUTH, OPT_VISITABLE, OPT_WRAP_IN_HTTP_RESPONSE, reactive, requiredPropertiesInConstructor, serializationLibrary, testTool, title, useOptional, visitable, wrapInHttpResponse
-
Fields inherited from class org.openapitools.codegen.languages.AbstractJavaCodegen
ADDITIONAL_ENUM_TYPE_ANNOTATIONS, ADDITIONAL_MODEL_TYPE_ANNOTATIONS, ADDITIONAL_ONE_OF_TYPE_ANNOTATIONS, additionalEnumTypeAnnotations, additionalModelTypeAnnotations, additionalOneOfTypeAnnotations, annotationLibrary, apiDocPath, artifactDescription, artifactId, artifactUrl, artifactVersion, BOOLEAN_GETTER_PREFIX, booleanGetterPrefix, CAMEL_CASE_DOLLAR_SIGN, camelCaseDollarSign, CONTAINER_DEFAULT_TO_NULL, containerDefaultToNull, DATE_LIBRARY, dateLibrary, DEFAULT_LIBRARY, DEFAULT_TEST_FOLDER, developerEmail, developerName, developerOrganization, developerOrganizationUrl, DISABLE_HTML_ESCAPING, disableHtmlEscaping, DISCRIMINATOR_CASE_SENSITIVE, discriminatorCaseSensitive, documentationProvider, ENUM_PROPERTY_NAMING_DESC, enumPropertyNaming, GENERATE_BUILDERS, GENERATE_CONSTRUCTOR_WITH_ALL_ARGS, generateBuilders, generateConstructorWithAllArgs, groupId, IGNORE_ANYOF_IN_ENUM, ignoreAnyOfInEnum, IMPLICIT_HEADERS, IMPLICIT_HEADERS_REGEX, implicitHeaders, implicitHeadersRegex, invokerPackage, jackson, JACKSON, JAVAX_PACKAGE, licenseName, licenseUrl, LOMBOK, lombokAnnotations, modelDocPath, OPENAPI_NULLABLE, openApiNullable, outputTestFolder, parentArtifactId, parentGroupId, parentOverridden, parentVersion, projectFolder, projectTestFolder, scmConnection, scmDeveloperConnection, scmUrl, serializableModel, serializeBigDecimalAsString, sourceFolder, SUPPORT_ASYNC, supportAsync, TEST_OUTPUT, testFolder, USE_JAKARTA_EE, USE_ONE_OF_INTERFACES, useBeanValidation, useJakartaEe, WITH_XML, withXml
-
Fields inherited from class org.openapitools.codegen.DefaultCodegen
additionalProperties, addOneOfInterfaceImports, addOneOfInterfaces, addSuffixToDuplicateOperationNicknames, allowUnicodeIdentifiers, apiDocTemplateFiles, apiNamePrefix, apiNameSuffix, apiPackage, apiTemplateFiles, apiTestTemplateFiles, autosetConstants, cliOptions, DefaultFeatureSet, defaultIncludes, defaultToEmptyContainer, disallowAdditionalPropertiesIfNotPresent, docExtension, embeddedTemplateDir, enableMinimalUpdate, enablePostProcessFile, ensureUniqueParams, enumNameMapping, enumUnknownDefaultCase, enumUnknownDefaultCaseName, falseSchema, filesMetadataFilename, fileSuffix, generatorMetadata, gitHost, gitRepoId, gitUserId, hideGenerationTimestamp, httpUserAgent, ignoreFilePathOverride, importBaseType, importContainerType, importMapping, inlineSchemaNameMapping, inlineSchemaOption, inputSpec, instantiationTypes, JSON_MIME_PATTERN, JSON_VENDOR_MIME_PATTERN, languageSpecificPrimitives, legacyDiscriminatorBehavior, library, loadDeepObjectIntoItems, modelDocTemplateFiles, modelNameMapping, modelNamePrefix, modelNameSuffix, modelPackage, modelTemplateFiles, modelTestTemplateFiles, nameMapping, openAPI, openapiGeneratorIgnoreList, openapiNormalizer, operationIdNameMapping, outputFolder, parameterNameMapping, prependFormOrBodyParameters, releaseNote, removeEnumValuePrefix, removeOperationIdPrefix, removeOperationIdPrefixCount, removeOperationIdPrefixDelimiter, reservedWords, reservedWordsMappings, schemaMapping, serverVariables, skipOperationExample, skipOverwrite, skipSortingOperations, sortModelPropertiesByRequiredFlag, sortParamsByRequiredFlag, specialCharReplacements, strictSpecBehavior, supportedLibraries, supportingFiles, supportsAdditionalPropertiesWithComposedSchema, supportsInheritance, supportsMixins, supportsMultipleInheritance, templateDir, templateOutputDirs, testPackage, trueSchema, typeAliases, typeMapping, useOneOfInterfaces, vendorExtensions, versionMetadataFilename, XML_MIME_PATTERN
-
Fields inherited from interface org.openapitools.codegen.languages.features.BeanValidationFeatures
USE_BEANVALIDATION
-
Fields inherited from interface org.openapitools.codegen.languages.features.DocumentationProviderFeatures
ANNOTATION_LIBRARY, DOCUMENTATION_PROVIDER
-
Fields inherited from interface org.openapitools.codegen.languages.features.OptionalFeatures
USE_OPTIONAL
-
-
Constructor Summary
Constructors Constructor Description JavaMicronautServerCodegen()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringapiTestFileFolder()Deprecated, for removal: This API element is subject to removal in a future version.StringapiTestFilename(String templateName, String tag)Deprecated, for removal: This API element is subject to removal in a future version.Return the full path and API test fileStringgetHelp()Deprecated, for removal: This API element is subject to removal in a future version.StringgetName()Deprecated, for removal: This API element is subject to removal in a future version.CodegenTypegetTag()Deprecated, for removal: This API element is subject to removal in a future version.OperationsMappostProcessOperationsWithModels(OperationsMap objs, List<ModelMap> allModels)Deprecated, for removal: This API element is subject to removal in a future version.voidprocessOpts()Deprecated, for removal: This API element is subject to removal in a future version.voidsetParameterExampleValue(CodegenParameter p)Deprecated, for removal: This API element is subject to removal in a future version.Return the example value of the parameter.-
Methods inherited from class org.openapitools.codegen.languages.JavaMicronautAbstractCodegen
addMustacheLambdas, addOperationToGroup, escapeTextGroovy, fromModel, getExampleValue, getParameterExampleValue, getPropertyExampleValue, modelTestFileFolder, postProcess, postProcessAllModels, sanitizeTag, setSerializationLibrary, setUseOptional, toApiTestFilename, toApiVarName, toModelTestFilename
-
Methods inherited from class org.openapitools.codegen.languages.AbstractJavaCodegen
addAdditionPropertiesToCodeGenModel, addImports, addImportsToOneOfInterface, apiDocFileFolder, apiFileFolder, applyJakartaPackage, applyJavaxPackage, escapeQuotationMark, escapeReservedWord, escapeUnsafeCharacters, findByName, fromOperation, getAnnotationLibrary, getDocumentationProvider, getOutputTestFolder, getSchemaType, getSupportedVendorExtensions, getterAndSetterCapitalize, getTypeDeclaration, handleImplicitHeaders, isAddNullableImports, isConstructorWithAllArgsAllowed, isTypeErasedGenerics, modelDocFileFolder, modelFileFolder, needToImport, postProcessFile, postProcessModelProperty, postProcessModels, postProcessResponseWithProperty, preprocessOpenAPI, removeAnnotations, sanitizeDataType, setAnnotationLibrary, setDocumentationProvider, setEnumPropertyNaming, setOutputDir, setParameterExampleValue, setParameterExampleValue, toApiDocFilename, toApiFilename, toArrayDefaultValue, toBooleanGetter, toDefaultParameterValue, toDefaultValue, toEnumName, toEnumValue, toEnumVarName, toExampleValue, toModelDocFilename, toModelFilename, toModelName, toOperationId, toParamName, toRegularExpression, toVarName
-
Methods inherited from class org.openapitools.codegen.DefaultCodegen
addBodyModelSchema, addHeaders, addImport, addImport, addImport, addImports, addImports, addImports, addImportsForPropertyType, additionalProperties, addOneOfInterfaceModel, addOneOfNameExtension, addOption, addOption, addParentContainer, addParentFromContainer, addProperties, addRegularExpressionDelimiter, addRequiredVarsMap, addSwitch, addVars, addVars, addVarsRequiredVarsAdditionalProps, apiDocFilename, apiDocTemplateFiles, apiFilename, apiFilename, apiPackage, apiTemplateFiles, apiTestTemplateFiles, buildEnumVars, buildLibraryCliOption, cliOptions, convertPropertyToBoolean, convertPropertyToBooleanAndWriteBack, convertPropertyToBooleanAndWriteBack, convertPropertyToStringAndWriteBack, convertPropertyToTypeAndWriteBack, createDiscriminator, defaultIncludes, defaultTemplatingEngine, embeddedTemplateDir, encodePath, enumNameMapping, escapeText, escapeTextInSingleQuotes, escapeTextWhileAllowingNewLines, executePostProcessor, fileSuffix, findCommonPrefixOfVars, findMethodResponse, fromCallback, fromFormProperty, fromParameter, fromProperty, fromProperty, fromProperty, fromRequestBody, fromRequestBodyToFormParameters, fromResponse, fromSecurity, fromServers, fromServerVariables, generateExamplePath, generateJSONSpecFile, generateYAMLSpecFile, generatorLanguage, generatorLanguageVersion, getAdditionalPropertiesName, getAddSuffixToDuplicateOperationNicknames, getAlias, getAllModels, getAllOfDescendants, getCollectionFormat, getCollectionFormat, getConsumesInfo, getContent, getContentType, getDisallowAdditionalPropertiesIfNotPresent, getDocExtension, getEnumDefaultValue, getEnumUnknownDefaultCase, getEnumValueForProperty, getFeatureSet, getFilesMetadataFilename, getGeneratorMetadata, getGitHost, getGitRepoId, getGitUserId, getHttpUserAgent, getIgnoreFilePathOverride, getInnerEnumAllowableValues, getInputSpec, getItemsName, getLegacyDiscriminatorBehavior, getLibrary, getModelNameToSchemaCache, getMostInnerItems, getOneOfAnyOfDescendants, getOpenapiGeneratorIgnoreList, getOrGenerateOperationId, getOutputDir, getParameterDataType, getProducesInfo, getReleaseNote, getSchemaAdditionalProperties, getSchemaFromBooleanOrSchema, getSingleSchemaType, getSymbolName, getTemplatingEngine, getTypeDeclaration, getUseInlineModelResolver, getUseOneOfInterfaces, getUseOpenapiNormalizer, getVersionMetadataFilename, handleConstantParams, handleMethodResponse, handleMethodResponse, handleSpecialCharacters, hasBodyParameter, hasFormParameter, importMapping, initializeSpecialCharacterMapping, inlineSchemaNameMapping, inlineSchemaOption, instantiationTypes, isDataTypeBinary, isDataTypeFile, isDataTypeString, isEnableMinimalUpdate, isEnablePostProcessFile, isHideGenerationTimestamp, isJsonMimeType, isJsonVendorMimeType, isLibrary, isParameterNameUnique, isPropertyInnerMostEnum, isRemoveEnumValuePrefix, isRemoveOperationIdPrefix, isReservedWord, isSkipOperationExample, isSkipOverwrite, isSkipSortingOperations, isStrictSpecBehavior, isXmlMimeType, languageSpecificPrimitives, lowerCamelCase, modelDocTemplateFiles, modelFilename, modelFilename, modelNameMapping, modelPackage, modelTemplateFiles, modelTestTemplateFiles, modifyFeatureSet, nameMapping, openapiGeneratorIgnoreList, openapiNormalizer, operationIdNameMapping, outputFolder, parameterNameMapping, postProcessEnumVars, postProcessModelsEnum, postProcessParameter, postProcessSupportingFileData, postProcessWebhooksWithModels, processCompiler, processOpenAPI, processTemplatingEngine, processTestExampleData, removeImport, removeNonNameElementToCamelCase, removeNonNameElementToCamelCase, removeOption, removeSelfReferenceImports, reservedWords, reservedWordsMappings, sanitizeName, sanitizeName, sanitizeName, schemaMapping, serverVariableOverrides, setAddProps, setCircularReferences, setDocExtension, setEnableMinimalUpdate, setEnablePostProcessFile, setEnumDiscriminatorDefaultValue, setGitHost, setGitRepoId, setGitUserId, setHideGenerationTimestamp, setHttpUserAgent, setIgnoreFilePathOverride, setInputSpec, setLibrary, setNonArrayMapProperty, setOpenAPI, setParameterBooleanFlagWithCodegenProperty, setParameterEncodingValues, setParameterExamples, setParameterNullable, setReleaseNote, setRemoveEnumValuePrefix, setRemoveOperationIdPrefix, setReservedWordsLowerCase, setSkipOperationExample, setSkipOverwrite, setSkipSortingOperations, setStrictSpecBehavior, setTemplatingEngine, setUseOneOfInterfaces, shouldAddImport, shouldOverwrite, SortModelPropertiesByRequiredFlag, SortParametersByRequiredFlag, specVersionGreaterThanOrEqualTo310, supportedLibraries, supportingFiles, templateDir, templateOutputDirs, testPackage, toAllOfName, toAnyOfName, toApiImport, toApiName, toArrayModelParamName, toDefaultParameterValue, toDefaultValue, toDefaultValueWithParam, toEnumDefaultValue, toEnumDefaultValue, toExamples, toGetter, toInstantiationType, toMediaTypeSchemaName, toModelImport, toModelImportMap, toOneOfName, toSetter, toTestCaseName, typeMapping, unaliasPropertySchema, unaliasSchema, updateAllModels, updateCodegenPropertyEnum, updateDataTypeWithEnumForArray, updateDataTypeWithEnumForMap, updateEnumVarsWithExtensions, updateModelForAnyType, updateModelForComposedSchema, updateModelForInteger, updateModelForNumber, updateModelForObject, updateModelForString, updateOption, updateParameterForString, updatePropertyForAnyType, updatePropertyForArray, updatePropertyForInteger, updatePropertyForMap, updatePropertyForMap, updatePropertyForNumber, updatePropertyForObject, updatePropertyForString, updateRequestBodyForArray, updateRequestBodyForMap, updateRequestBodyForObject, updateRequestBodyForPrimitiveType, updateRequestBodyForString, useCodegenAsMustacheParentContext, vendorExtensions, writePropertyBack
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openapitools.codegen.languages.features.BeanValidationFeatures
setUseBeanValidation
-
Methods inherited from interface org.openapitools.codegen.CodegenConfig
additionalProperties, apiDocFilename, apiDocTemplateFiles, apiFilename, apiFilename, apiPackage, apiTemplateFiles, apiTestTemplateFiles, cliOptions, defaultIncludes, defaultTemplatingEngine, embeddedTemplateDir, encodePath, enumNameMapping, escapeText, escapeTextWhileAllowingNewLines, fileSuffix, fromSecurity, fromServers, fromServerVariables, generateExamplePath, generatorLanguage, generatorLanguageVersion, getAddSuffixToDuplicateOperationNicknames, getDocExtension, getFeatureSet, getFilesMetadataFilename, getGeneratorMetadata, getGitHost, getGitRepoId, getGitUserId, getHttpUserAgent, getIgnoreFilePathOverride, getInputSpec, getLibrary, getOpenapiGeneratorIgnoreList, getOutputDir, getReleaseNote, getTemplatingEngine, getTypeDeclaration, getUseInlineModelResolver, getUseOpenapiNormalizer, getVersionMetadataFilename, importMapping, inlineSchemaNameMapping, inlineSchemaOption, instantiationTypes, isEnableMinimalUpdate, isEnablePostProcessFile, isHideGenerationTimestamp, isRemoveEnumValuePrefix, isRemoveOperationIdPrefix, isSkipOperationExample, isSkipOverwrite, isSkipSortingOperations, isStrictSpecBehavior, languageSpecificPrimitives, modelDocTemplateFiles, modelFilename, modelFilename, modelNameMapping, modelPackage, modelTemplateFiles, modelTestTemplateFiles, nameMapping, openapiGeneratorIgnoreList, openapiNormalizer, operationIdNameMapping, outputFolder, parameterNameMapping, postProcessParameter, postProcessSupportingFileData, postProcessWebhooksWithModels, processCompiler, processOpenAPI, processTemplatingEngine, reservedWords, reservedWordsMappings, sanitizeName, schemaMapping, serverVariableOverrides, setDocExtension, setEnableMinimalUpdate, setEnablePostProcessFile, setGitHost, setGitRepoId, setGitUserId, setHideGenerationTimestamp, setHttpUserAgent, setIgnoreFilePathOverride, setInputSpec, setLibrary, setOpenAPI, setReleaseNote, setRemoveEnumValuePrefix, setRemoveOperationIdPrefix, setSkipOperationExample, setSkipOverwrite, setSkipSortingOperations, setStrictSpecBehavior, setTemplatingEngine, shouldOverwrite, supportedLibraries, supportingFiles, templateDir, templateOutputDirs, testPackage, toApiImport, toApiName, toGetter, toModelImport, toModelImportMap, toSetter, typeMapping, unaliasSchema, updateAllModels, vendorExtensions
-
Methods inherited from interface org.openapitools.codegen.languages.features.DocumentationProviderFeatures
defaultDocumentationProvider, supportedAnnotationLibraries, supportedDocumentationProvider
-
-
-
-
Field Detail
-
OPT_CONTROLLER_PACKAGE
public static final String OPT_CONTROLLER_PACKAGE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
OPT_GENERATE_CONTROLLER_FROM_EXAMPLES
public static final String OPT_GENERATE_CONTROLLER_FROM_EXAMPLES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
OPT_GENERATE_CONTROLLER_AS_ABSTRACT
public static final String OPT_GENERATE_CONTROLLER_AS_ABSTRACT
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
OPT_GENERATE_OPERATIONS_TO_RETURN_NOT_IMPLEMENTED
public static final String OPT_GENERATE_OPERATIONS_TO_RETURN_NOT_IMPLEMENTED
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
EXTENSION_ROLES
public static final String EXTENSION_ROLES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ANONYMOUS_ROLE_KEY
public static final String ANONYMOUS_ROLE_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ANONYMOUS_ROLE
public static final String ANONYMOUS_ROLE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
AUTHORIZED_ROLE_KEY
public static final String AUTHORIZED_ROLE_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
AUTHORIZED_ROLE
public static final String AUTHORIZED_ROLE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
DENY_ALL_ROLE_KEY
public static final String DENY_ALL_ROLE_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
DENY_ALL_ROLE
public static final String DENY_ALL_ROLE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
NAME
public static final String NAME
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
controllerPackage
protected String controllerPackage
Deprecated, for removal: This API element is subject to removal in a future version.
-
generateControllerAsAbstract
protected boolean generateControllerAsAbstract
Deprecated, for removal: This API element is subject to removal in a future version.
-
generateOperationsToReturnNotImplemented
protected boolean generateOperationsToReturnNotImplemented
Deprecated, for removal: This API element is subject to removal in a future version.
-
generateControllerFromExamples
protected boolean generateControllerFromExamples
Deprecated, for removal: This API element is subject to removal in a future version.
-
useAuth
protected boolean useAuth
Deprecated, for removal: This API element is subject to removal in a future version.
-
controllerPrefix
protected String controllerPrefix
Deprecated, for removal: This API element is subject to removal in a future version.
-
controllerSuffix
protected String controllerSuffix
Deprecated, for removal: This API element is subject to removal in a future version.
-
apiPrefix
protected String apiPrefix
Deprecated, for removal: This API element is subject to removal in a future version.
-
apiSuffix
protected String apiSuffix
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getTag
public CodegenType getTag()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getTagin interfaceCodegenConfig- Overrides:
getTagin classDefaultCodegen
-
getName
public String getName()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamein interfaceCodegenConfig- Overrides:
getNamein classDefaultCodegen
-
getHelp
public String getHelp()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getHelpin interfaceCodegenConfig- Overrides:
getHelpin classDefaultCodegen
-
processOpts
public void processOpts()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
processOptsin interfaceCodegenConfig- Overrides:
processOptsin classJavaMicronautAbstractCodegen
-
apiTestFileFolder
public String apiTestFileFolder()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
apiTestFileFolderin interfaceCodegenConfig- Overrides:
apiTestFileFolderin classJavaMicronautAbstractCodegen
-
apiTestFilename
public String apiTestFilename(String templateName, String tag)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:DefaultCodegenReturn the full path and API test file- Specified by:
apiTestFilenamein interfaceCodegenConfig- Overrides:
apiTestFilenamein classDefaultCodegen- Parameters:
templateName- template nametag- tag- Returns:
- the API test file name with full path
-
setParameterExampleValue
public void setParameterExampleValue(CodegenParameter p)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:DefaultCodegenReturn the example value of the parameter.- Overrides:
setParameterExampleValuein classJavaMicronautAbstractCodegen- Parameters:
p- Codegen parameter
-
postProcessOperationsWithModels
public OperationsMap postProcessOperationsWithModels(OperationsMap objs, List<ModelMap> allModels)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
postProcessOperationsWithModelsin interfaceCodegenConfig- Overrides:
postProcessOperationsWithModelsin classJavaMicronautAbstractCodegen
-
-