You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These options may be applied as additional-properties (cli) or configOptions (plugins). Refer to configuration docs for more details.
Option
Description
Values
Default
addSurrogateKey
Adds the surrogate key for all models that don't already have a primary key (named by the above convention)
false
additionalModelTypeAnnotations
Additional annotations for model type(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)
null
artifactId
Generated artifact id (name of jar).
ktorm
artifactVersion
Generated artifact's package version.
1.0.0
defaultDatabaseName
Default database name for all queries
sqlite.db
enumPropertyNaming
Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', 'original', and 'bestEffortBacktick' (like 'original' but tries to wrap values in backticks before falling back to sanitizing, e.g. name,asc stays name,asc rather than becoming nameCommaAsc; useful for sort/order enums)
Naming convention of Ktorm identifiers(table names and column names). This is not related to database name which is defined by defaultDatabaseName option
original
Do not transform original names
snake_case
Use snake_case names
original
implicitHeaders
Skip header parameters in the generated API methods.
false
importModelPackageName
Package name of the imported models
org.openapitools.database.models
modelMutable
Create mutable models
false
packageName
Generated artifact package name.
org.openapitools.database
primaryKeyConvention
Primary key naming convention
id
sortModelPropertiesByRequiredFlag
Sort model properties to place required parameters before optional parameters.
null
sortParamsByRequiredFlag
Sort method arguments to place required parameters before optional parameters.