2020-01-08 21:54:05 -05:00

3.5 KiB

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

IMPORT MAPPING

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

INSTANTIATION TYPES

Type/Alias Instantiated By
array array
map map

LANGUAGE PRIMITIVES

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

RESERVED WORDS

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