OpenAPI Generator

OpenAPI Generator

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

Config Options for nodejs-server-deprecated

OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
sortModelPropertiesByRequiredFlagSort model properties to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
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
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
serverPortTCP port to listen on.null

IMPORT MAPPING

Type/AliasImports
LocalDateTimeorg.joda.time.*
Setjava.util.*
LocalTimeorg.joda.time.*
HashMapjava.util.HashMap
ArrayListjava.util.ArrayList
URIjava.net.URI
Timestampjava.sql.Timestamp
LocalDateorg.joda.time.*
BigDecimaljava.math.BigDecimal
Datejava.util.Date
DateTimeorg.joda.time.*
Arrayjava.util.List
Listjava.util.*
UUIDjava.util.UUID
Filejava.io.File
Mapjava.util.Map

INSTANTIATION TYPES

Type/AliasInstantiated By

LANGUAGE PRIMITIVES

    RESERVED WORDS

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