OpenAPI Generator

OpenAPI Generator

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

Config Options for scala-httpclient-deprecated

OptionDescriptionValuesDefault
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
apiPackagepackage for generated api classesnull
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
modelPackagepackage for generated modelsnull
modelPropertyNamingNaming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original namecamelCase
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
sortModelPropertiesByRequiredFlagSort model properties to place required parameters before optional parameters.true
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
sourceFoldersource folder for generated codenull

IMPORT MAPPING

Type/AliasImports
Arrayjava.util.List
ArrayListjava.util.ArrayList
BigDecimaljava.math.BigDecimal
Datejava.util.Date
DateTimeorg.joda.time.*
Filejava.io.File
HashMapjava.util.HashMap
ListBufferscala.collection.mutable.ListBuffer
ListSetscala.collection.immutable.ListSet
LocalDateorg.joda.time.*
LocalDateTimeorg.joda.time.*
LocalTimeorg.joda.time.*
Seqscala.collection.immutable.Seq
Timestampjava.sql.Timestamp
URIjava.net.URI
UUIDjava.util.UUID

INSTANTIATION TYPES

Type/AliasInstantiated By
arrayListBuffer
mapHashMap
setSet

LANGUAGE PRIMITIVES

  • Any
  • Array
  • Boolean
  • Double
  • Float
  • Int
  • List
  • Long
  • Map
  • Object
  • Seq
  • String
  • boolean

RESERVED WORDS

  • abstract
  • apiinvoker
  • basepath
  • case
  • catch
  • class
  • contenttype
  • contenttypes
  • def
  • do
  • else
  • extends
  • false
  • final
  • finally
  • for
  • formparams
  • forsome
  • headerparams
  • if
  • implicit
  • import
  • lazy
  • match
  • mp
  • new
  • null
  • object
  • override
  • package
  • path
  • postbody
  • private
  • protected
  • queryparams
  • return
  • sealed
  • super
  • this
  • throw
  • trait
  • true
  • try
  • type
  • val
  • var
  • while
  • with
  • yield
Last updated on 1/21/2020
  • IMPORT MAPPING
  • INSTANTIATION TYPES
  • LANGUAGE PRIMITIVES
  • RESERVED WORDS
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowChat RoomTwitter
More
BlogGitHub RepoStar
Copyright © 2020 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))