in groovy the openApiGenerate is this simple ```op...
# server
t
in groovy the openApiGenerate is this simple
Copy code
openApiGenerate {
  generatorName = "kotlin"
  inputSpec = "$rootDir/petstore-v3.0.yaml".toString()
  outputDir = "$buildDir/kotlin".toString()
  apiPackage = "org.openapitools.example.api"
  invokerPackage = "org.openapitools.example.invoker"
  modelPackage = "org.openapitools.example.model"
  configOptions = [
    dateLibrary: "java8"
  ]
  globalProperties = [
    modelDocs: "false"
  ]
  skipValidateSpec = true
  logToStderr = true
  generateAliasAsModel = false
  // set to true and set environment variable {LANG}_POST_PROCESS_FILE
  // (e.g. SCALA_POST_PROCESS_FILE) to the linter/formatter to be processed.
  // This command will be passed one file at a time for most supported post processors.
  enablePostProcessFile = false
}
`
🚫 2