openapi-generator/docs/generators/php-lumen.md
Jim Schubert 644f720db8
[docs] Sorted doc outputs and clean up duplicated CliOptions (#5046)
* [config-help] Sort all outputs

* Remove old/stale generator docs (these have been renamed previously)

* Sort config doc outputs, making it easier to find relevant info

* Fixes cliOptions duplicates

Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).

The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.

* Add --github-nested-index for generating docs/generators/README.md

* 📝 Regenerate generator docs
2020-01-19 20:19:11 -05:00

3.5 KiB

title sidebar_label
Config Options for php-lumen php-lumen
Option Description Values Default
allowUnicodeIdentifiers boolean, toggles whether unicode identifiers are allowed in names or not, default is false false
apiPackage package for generated api classes null
artifactVersion The version to use in the composer package version field. e.g. 1.2.3 null
ensureUniqueParams Whether to ensure parameter names are unique in an operation (rename parameters that are not). true
invokerPackage The main namespace to use for all classes. e.g. Yay\Pets null
modelPackage package for generated models null
packageName The main package name for classes. e.g. GeneratedPetstore null
prependFormOrBodyParameters Add form or body parameters to the beginning of the parameter list. false
sortModelPropertiesByRequiredFlag Sort model properties to place required parameters before optional parameters. true
sortParamsByRequiredFlag Sort method arguments to place required parameters before optional parameters. true
srcBasePath The directory to serve as source root. null
variableNamingConvention naming convention of variable name, e.g. camelCase. snake_case

IMPORT MAPPING

Type/Alias Imports
Array java.util.List
ArrayList java.util.ArrayList
BigDecimal java.math.BigDecimal
Date java.util.Date
DateTime org.joda.time.*
File java.io.File
HashMap java.util.HashMap
List java.util.*
LocalDate org.joda.time.*
LocalDateTime org.joda.time.*
LocalTime org.joda.time.*
Map java.util.Map
Set java.util.*
Timestamp java.sql.Timestamp
URI java.net.URI
UUID java.util.UUID

INSTANTIATION TYPES

Type/Alias Instantiated By
array array
map map

LANGUAGE PRIMITIVES

  • DateTime
  • bool
  • boolean
  • byte
  • double
  • float
  • int
  • integer
  • mixed
  • number
  • object
  • string
  • void

RESERVED WORDS

  • __halt_compiler
  • _header_accept
  • _tempbody
  • abstract
  • and
  • array
  • as
  • break
  • callable
  • case
  • catch
  • class
  • clone
  • const
  • continue
  • declare
  • default
  • die
  • do
  • echo
  • else
  • elseif
  • empty
  • enddeclare
  • endfor
  • endforeach
  • endif
  • endswitch
  • endwhile
  • eval
  • exit
  • extends
  • final
  • for
  • foreach
  • formparams
  • function
  • global
  • goto
  • headerparams
  • httpbody
  • if
  • implements
  • include
  • include_once
  • instanceof
  • insteadof
  • interface
  • isset
  • list
  • namespace
  • new
  • or
  • print
  • private
  • protected
  • public
  • queryparams
  • require
  • require_once
  • resourcepath
  • return
  • static
  • switch
  • throw
  • trait
  • try
  • unset
  • use
  • var
  • while
  • xor