Man c0994c479d #4848 [asciidoc] add option to not generate metadata (#4852)
* #4848 [asciidoc] add option to not generate metadata (asciidoc attributes)

cli / additionalParameters: generateHeaders=true|false

* #4848 [asciidoc] new options ascidoc generator

* #4848 [asciidoc] add option to not generate metadata (asciidoc attributes)

cli / additionalParameters: generateHeaders=true|false
2019-12-22 15:34:29 +08:00

1.7 KiB

title sidebar_label
Config Options for asciidoc asciidoc
Option Description Values Default
sortParamsByRequiredFlag Sort method arguments to place required parameters before optional parameters. true
sortModelPropertiesByRequiredFlag Sort model properties to place required parameters before optional parameters. true
ensureUniqueParams Whether to ensure parameter names are unique in an operation (rename parameters that are not). true
allowUnicodeIdentifiers boolean, toggles whether unicode identifiers are allowed in names or not, default is false false
prependFormOrBodyParameters Add form or body parameters to the beginning of the parameter list. false
appName short name of the application null
appDescription description of the application null
infoUrl a URL where users can get more information about the application null
infoEmail an email address to contact for inquiries about the application null
licenseInfo a short description of the license null
licenseUrl a URL pointing to the full license null
invokerPackage root package for generated code null
groupId groupId in generated pom.xml null
artifactId artifactId in generated pom.xml. This also becomes part of the generated library's filename null
artifactVersion artifact version in generated pom.xml. This also becomes part of the generated library's filename null
snippetDir path with includable markup snippets (e.g. test output generated by restdoc, default: .) .
specDir path with includable markup spec files (e.g. handwritten additional docs, default: ..) ..
headerAttributes generation of asciidoc header meta data attributes (set to false to suppress, default: true) true