mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
644f720db8
* [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
3.6 KiB
3.6 KiB
title | sidebar_label |
---|---|
Config Options for php-slim4 | php-slim4 |
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 | |
psr7Implementation | Slim 4 provides its own PSR-7 implementation so that it works out of the box. However, you are free to replace Slim’s default PSR-7 objects with a third-party implementation. Ref: https://www.slimframework.com/docs/v4/concepts/value-objects.html |
|
slim-psr7 |
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. | camelCase |
IMPORT MAPPING
Type/Alias | Imports |
---|
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
- private
- protected
- public
- queryparams
- require
- require_once
- resourcepath
- return
- static
- switch
- throw
- trait
- try
- unset
- use
- var
- while
- xor