OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

generators/kotlin-server


id: generator-opts-server-kotlin-server title: Config Options for kotlin-server sidebar_label: kotlin-server


OptionDescriptionValuesDefault
sourceFoldersource folder for generated codesrc/main/kotlin
packageNameGenerated artifact package name.org.openapitools
groupIdGenerated artifact package's organization (i.e. maven groupId).org.openapitools
artifactIdGenerated artifact id (name of jar).null
artifactVersionGenerated artifact's package version.1.0.0
enumPropertyNamingNaming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original'camelCase
parcelizeModelstoggle "@Parcelize" for generated modelsnull
librarylibrary template (sub-template) to use
ktor
ktor framework
ktor
featureAutoHeadAutomatically provide responses to HEAD requests for existing routes that have the GET verb defined.true
featureConditionalHeadersAvoid sending content if client already has same content, by checking ETag or LastModified properties.false
featureHSTSAvoid sending content if client already has same content, by checking ETag or LastModified properties.true
featureCORSKtor by default provides an interceptor for implementing proper support for Cross-Origin Resource Sharing (CORS). See enable-cors.org.false
featureCompressionAdds ability to compress outgoing content using gzip, deflate or custom encoder and thus reduce size of the response.true
Last updated on 2019-1-18
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHub RepoStar
Facebook Open SourceFontawesome (Free)
Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech)