OpenAPI Generator

OpenAPI Generator

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

Config Options for nodejs-server-deprecated

OptionDescriptionValuesDefault
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
exportedNameWhen the generated code will be deployed to Google Cloud Functions, this option can be used to update the name of the exported function. By default, it refers to the basePath. This does not affect normal standalone nodejs server code.null
googleCloudFunctionsWhen specified, it will generate the code which runs within Google Cloud Functions instead of standalone Node.JS server. See https://cloud.google.com/functions/docs/quickstart for the details of how to deploy the generated code.false
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
serverPortTCP port to listen on.null
sortModelPropertiesByRequiredFlagSort model properties to place required parameters before optional parameters.true
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true

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
Listjava.util.*
LocalDateorg.joda.time.*
LocalDateTimeorg.joda.time.*
LocalTimeorg.joda.time.*
Mapjava.util.Map
Setjava.util.*
Timestampjava.sql.Timestamp
URIjava.net.URI
UUIDjava.util.UUID

INSTANTIATION TYPES

Type/AliasInstantiated By

LANGUAGE PRIMITIVES

    RESERVED WORDS

    • break
    • case
    • catch
    • class
    • const
    • continue
    • debugger
    • default
    • delete
    • do
    • else
    • export
    • extends
    • finally
    • for
    • function
    • if
    • import
    • in
    • instanceof
    • let
    • new
    • return
    • super
    • switch
    • this
    • throw
    • try
    • typeof
    • var
    • void
    • while
    • with
    • yield
    Last updated on 1/20/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))